Newer
Older
dmpopidor / app / controllers / admin / users_controller.rb
@Jimmy Angelakos Jimmy Angelakos on 15 May 2017 579 bytes Upgraded Administrate (0.7.0), closes #266.
module Admin
  class UsersController < Admin::ApplicationController
    # To customize the behavior of this controller,
    # you can overwrite any of the RESTful actions. For example:
    #
    # def index
    #   super
    #   @resources = User.
    #     page(params[:page]).
    #     per(10)
    # end

    # Define a custom finder by overriding the `find_resource` method:
    # def find_resource(param)
    #   User.find_by!(slug: param)
    # end

    # See https://administrate-prototype.herokuapp.com/customizing_controller_actions
    # for more information
  end
end