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.
12345678910111213141516class Api::V4::Runners::GamesController < Api::V4::ApplicationController before_action :set_runner before_action :set_games, only: [:index]
def index games = paginate @games render json: Api::V4::GameBlueprint.render(games, root: :games, toplevel: :game) end
private
def set_games @games = @runner.games.includes(:srdc, categories: [:srdc]) endend