Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
123456789101112131415class Api::V4::Runners::GamesController < Api::V4::ApplicationController before_action :set_runner before_action :set_games, only: [:index]
def index paginate json: @games, each_serializer: Api::V4::GameSerializer end
private
def set_games @games = @runner.games.includes(:categories) endend