Sha256: 5920e30968d823e5528239293052f6a510b07282714508c01324e0c6ef4589a6
Contents?: true
Size: 589 Bytes
Versions: 5
Compression:
Stored size: 589 Bytes
Contents
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.with_attached_avatars. 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
Version data entries
5 entries across 5 versions & 1 rubygems