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::PbsController < Api::V4::ApplicationController before_action :set_runner before_action :set_pbs, only: [:index]
def index pbs = paginate @pbs render json: Api::V4::RunBlueprint.render(pbs, root: :pbs, toplevel: :run) end
private
def set_pbs @pbs = @runner.pbs.includes(:game, :category) endend