module Admin
  class <%= class_name.pluralize %>Controller < Admin::ApplicationController
    # To customize the behavior of this controller,
    # simply overwrite any of the RESTful actions. For example:
    #
    # def index
    #   super
    #   @resources = <%= class_name %>.all.paginate(10, params[:page])
    # end

    # Define a custom finder by overriding the `find_resource` method:
    # def find_resource(param)
    #   <%= class_name %>.find_by!(slug: param)
    # end

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

module Admin
  class <%= class_name.pluralize %>Controller < Admin::ApplicationController
    # To customize the behavior of this controller,
    # simply overwrite any of the RESTful actions. For example:
    #
    # def index
    #   super
    #   @resources = <%= class_name %>.
    #     page(params[:page]).
    #     per(10)
    # end

    # Define a custom finder by overriding the `find_resource` method:
    # def find_resource(param)
    #   <%= class_name %>.find_by!(slug: param)
    # end

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

Use Kaminari syntax in controller's comment hint
Use Kaminari syntax in controller's comment hint

Wrap the method chain onto multiple lines because it's likely
the developer will want to add some `order` details or other scopes
to the chain.
