demarches-normaliennes/app/controllers/manager/administrateurs_controller.rb
2018-01-10 13:44:02 +01:00

21 lines
612 B
Ruby

module Manager
class AdministrateursController < Manager::ApplicationController
# To customize the behavior of this controller,
# simply overwrite any of the RESTful actions. For example:
#
# def index
# super
# @resources = Administrateur.
# page(params[:page]).
# per(10)
# end
# Define a custom finder by overriding the `find_resource` method:
# def find_resource(param)
# Administrateur.find_by!(slug: param)
# end
# See https://administrate-prototype.herokuapp.com/customizing_controller_actions
# for more information
end
end