Sha256: 3816754da795a492f14139695e8b4d7ac63ccb3bd7bfd7c1761f18e73be2a726

Contents?: true

Size: 967 Bytes

Versions: 5

Compression:

Stored size: 967 Bytes

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
  ]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminpanel-3.3.4 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.3.3 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.3.0 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.2.1 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.2.0 test/dummy/config/initializers/adminpanel_setup.rb