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.
12345678910111213141516171819202122module Admin class SegmentsController < Admin::ApplicationController # To customize the behavior of this controller, # you can overwrite any of the RESTful actions. For example: # # def index # super # @resources = Segment. # page(params[:page]). # per(10) # end
# Define a custom finder by overriding the `find_resource` method: # def find_resource(param) # Segment.find_by!(slug: param) # end
# See https://administrate-prototype.herokuapp.com/customizing_controller_actions # for more information endend