Sha256: 178739e87d8dc7173bcf374379c2564f7170fdbf5ce5c80055d409f48f56b564

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

Adminpanel.setup do |config|
  ### GOOGLE ANALYTICS CONFIGURATIONS ####
  # # 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"

  ### FACEBOOK CONFIGURATIONS ###
  # # Facebook app id
  # config.fb_app_id = '1234'

  # # Facebook app secret *MAKE SURE TO DON'T SHARE THIS SECRET*
  # config.fb_app_secret = '1234'

  ### TWITTER CONFIGURATIONS ###
  # # Twitter consumer key
  # config.twitter_api_key = '5678'

  # # Twitter consumer secret *DON'T SHARE THIS SECRET EITHER*
  # config.twitter_api_secret = '5678'

  # # This are the modules that are going to be displayed and order that are going to be displayed
  config.displayable_resources = [
    :analytics,
    :users,
    :rols,
    :permissions,
    :galleries,
    :sections
  ]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adminpanel-2.2.1 lib/generators/adminpanel/initialize/templates/adminpanel_setup.rb
adminpanel-2.2.0 lib/generators/adminpanel/initialize/templates/adminpanel_setup.rb