Sha256: f576f7657bd8ce61e784a869211615c44dd0423a0fe4585546ce2d7751e1a684

Contents?: true

Size: 1.09 KB

Versions: 12

Compression:

Stored size: 1.09 KB

Contents

Adminpanel.setup do |config|
  # # You get this from the Google Analytics Dashboard, this configuration is required.
  # config.analytics_profile_id = '12341234'

  # # The next configuration is the file used to establish server to server authentication/authorization
  # # you need to download this file from the Google Developers Console
  # # and place it inside your application, this configuration is required.
  # config.analytics_key_filename = '12345ABCDE.p12'

  # # Path to the key file, defaults to config/analytics
  # config.analytics_key_path = "config/analytics"

  # # This are the modules that are going to be displayed and order that are going to be displayed
  config.displayable_resources = [
    :departments,
    :analytics,
    :sections,
    :categories,
    :roles,
    :permissions,
    :products,
    :galleries, # sortable, and galleryfiles sortable too
    :users,
    :mugs,
    :salesmen,
    :test_objects,
    :file_resources
  ]

  config.displayable_pages = [
    # Adminpanel::HomePage,
    # Adminpanel::AboutUsPage,
    # Adminpanel::ContactPage
    Adminpanel::RandomPage
  ]
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
adminpanel-3.6.1 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.6.0 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.5.1 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.5.0 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.4.7 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.4.6 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.4.5 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.4.4 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.4.3 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.4.2 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.4.1 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.4.0 test/dummy/config/initializers/adminpanel_setup.rb