lib/generators/adminpanel/initialize/templates/adminpanel_setup.rb in adminpanel-2.2.1 vs lib/generators/adminpanel/initialize/templates/adminpanel_setup.rb in adminpanel-2.2.2
- old
+ new
@@ -1,37 +1,55 @@
Adminpanel.setup do |config|
### GOOGLE ANALYTICS CONFIGURATIONS ####
- # # You get this from the Google Analytics Dashboard, this configuration is required.
+ ## This is your website Google Analytics Profile ID
# config.analytics_profile_id = '12341234'
+ # # This configuration identifies your app with Google.
+ # # You get this from the Google Analytics Dashboard (https://console.developers.google.com), this configuration is required.
+ # config.analytics_account_email = '12345@developer.gserviceaccount.com'
+
# # 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"
+ # # Name of the developers Console Application, defaults to AdminPanel
+ # config.analytics_application_name = 'AdminPanel'
+
+ # # Version of the developers Console Application, defaults to 1.0.0
+ # config.analytics_application_version = '1.0.0'
+
### FACEBOOK CONFIGURATIONS ###
# # Facebook app id
- # config.fb_app_id = '1234'
+ # config.fb_app_id = 'f4c3b00k'
# # Facebook app secret *MAKE SURE TO DON'T SHARE THIS SECRET*
- # config.fb_app_secret = '1234'
+ # config.fb_app_secret = 'fbs3cr3t'
### TWITTER CONFIGURATIONS ###
# # Twitter consumer key
- # config.twitter_api_key = '5678'
+ # config.twitter_api_key = 'tw1tt3r'
# # Twitter consumer secret *DON'T SHARE THIS SECRET EITHER*
- # config.twitter_api_secret = '5678'
+ # config.twitter_api_secret = 'tws3cr3t'
+ ### INSTAGRAM CONFIGURATIONS ###
+ # # Instagram consumer key
+ # config.instagram_client_id = '1nst4gr4m'
+
+ # # Instagram consumer secret *YOU SHOULD KNOW BY NOW*
+ # config.instagram_client_secret = '1nst4s3cr3t'
+
# # 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,
+ #:categories,
:sections
]
end