Sha256: 710423ae525ba87db2f0c5359b9bd9aae23d5d9fa4176a2770817b57cc3235ba

Contents?: true

Size: 948 Bytes

Versions: 10

Compression:

Stored size: 948 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,
    :file_resources
  ]
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
adminpanel-3.1.0 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-3.0.0 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-2.6.1 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-2.6.0 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-2.5.5 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-2.5.4 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-2.5.3 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-2.5.2 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-2.5.1 test/dummy/config/initializers/adminpanel_setup.rb
adminpanel-2.5.0 test/dummy/config/initializers/adminpanel_setup.rb