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.
123456789101112131415161718192021class UsersController < ApplicationController before_action :set_user, only: [:show, :follows]
def show # temporary @user.runs.each do |run| run.delay.refresh_from_file if rand < SplitsIO::Application.config.run_refresh_chance end end
def follows render partial: "shared/follows" end
private
def set_user @user = User.find_by(name: params[:id]) || not_found endend