This commit is contained in:
2025-01-26 15:26:34 -08:00
parent 0acdbb4c3c
commit af9d3cc370
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
class GameController < ApplicationController
skip_before_action :verify_authenticity_token, only: [ :create ]
respond_to? :json
def index
@recent_games = Game.order(timestamp: :desc).limit(20)