Sha256: d296ee5ffc3eeeeeab3c66f2535ce3d285298c90f18c33e42f5cc37e93a58c54

Contents?: true

Size: 410 Bytes

Versions: 7

Compression:

Stored size: 410 Bytes

Contents

class Admin::<%= 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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
administrate-0.0.9 lib/generators/administrate/dashboard/templates/controller.rb.erb
administrate-0.0.8 lib/generators/administrate/dashboard/templates/controller.rb.erb
administrate-0.0.7 lib/generators/administrate/dashboard/templates/controller.rb.erb
administrate-0.0.6 lib/generators/administrate/dashboard/templates/controller.rb.erb
administrate-0.0.4 lib/generators/administrate/dashboard/templates/controller.rb.erb
administrate-0.0.3 lib/generators/administrate/dashboard/templates/controller.rb.erb
administrate-0.0.2 lib/generators/administrate/dashboard/templates/controller.rb.erb