docbrown/app/dashboards/dashboard_manifest.rb
Michael Kohl 7f75f99560
[deploy] Rename classified listings (#7910)
* Change models and related files

* Update controllers and specs

* More renaming

* Seek and destroy, I mean search and replace

* Round up the stragglers

* Ground control to Major Travis...

* More fixes

* PR feedback

* Various fixes

* Rename view

* Fix list query builder

* Unify request specs

* Fix some API spec errors

* Fix remaining API specs

* Make spec conform to API

* Fix leftover problems

* Fix JS tests

* Fix column name in select

* Fix API specs

* Fix search specs

* Paging Mr. Travis
2020-05-27 13:35:09 +00:00

46 lines
1.2 KiB
Ruby

# 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 = %i[
articles
users
organizations
comments
follows
reactions
podcasts
podcast_episodes
collections
tags
email_messages
feedback_messages
display_ads
badges
badge_achievements
html_variants
html_variant_trials
html_variant_successes
sponsorships
listing_categories
].freeze
# DASHBOARDS = [
# :users,
# :articles,
# :podcast_episodes,
# ]
# `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