Sha256: 673b03d6556429ac76b7c2636c47924ffc4de0a709a9d0aa6cd1373b27696826

Contents?: true

Size: 824 Bytes

Versions: 9

Compression:

Stored size: 824 Bytes

Contents

# DashboardManifest tells Administrate which dashboards to display
class DashboardManifest
  # `DASHBOARDS`
  # a list of dashboards to display in the side navigation menu
  #
  # These are all of the rails models that we found in your database
  # at the time you installed Administrate.
  #
  # To show or hide dashboards, add or remove the model name from this list.
  # Dashboards returned from this method must be Rails models for Administrate
  # to work correctly.
  DASHBOARDS = [
<% dashboard_resources.each do |model| -%>
    :<%= model %>,
<% end -%>
  ]

  # `ROOT_DASHBOARD`
  # the name of the dashboard that will be displayed
  # at "http://your_site.com/admin"
  #
  # This dashboard will likely be the first page that admins see
  # when they log into the dashboard.
  ROOT_DASHBOARD = DASHBOARDS.first
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
administrate-0.1.3 lib/generators/administrate/manifest/templates/dashboard_manifest.rb.erb
administrate-0.1.2 lib/generators/administrate/install/templates/dashboard_manifest.rb.erb
administrate-0.1.1 lib/generators/administrate/install/templates/dashboard_manifest.rb.erb
administrate-0.1.0 lib/generators/administrate/install/templates/dashboard_manifest.rb.erb
administrate-0.0.12 lib/generators/administrate/install/templates/dashboard_manifest.rb.erb
administrate-0.0.11 lib/generators/administrate/install/templates/dashboard_manifest.rb.erb
administrate-0.0.10 lib/generators/administrate/install/templates/dashboard_manifest.rb.erb
administrate-0.0.9 lib/generators/administrate/install/templates/dashboard_manifest.rb.erb
administrate-0.0.8 lib/generators/administrate/install/templates/dashboard_manifest.rb.erb