Sha256: cc34ef939638bfe37e28834499ff90785058afa7e2203f74eee67cb04c347ea3
Contents?: true
Size: 593 Bytes
Versions: 15
Compression:
Stored size: 593 Bytes
Contents
module Admin class Foo::StudentsController < Admin::ApplicationController # To customize the behavior of this controller, # you can overwrite any of the RESTful actions. For example: # # def index # super # @resources = Student. # page(params[:page]). # per(10) # end # Define a custom finder by overriding the `find_resource` method: # def find_resource(param) # Student.find_by!(slug: param) # end # See https://administrate-prototype.herokuapp.com/customizing_controller_actions # for more information end end
Version data entries
15 entries across 15 versions & 2 rubygems