lib/generators/adminpanel/initialize/templates/adminpanel_setup.rb in adminpanel-2.1.7 vs lib/generators/adminpanel/initialize/templates/adminpanel_setup.rb in adminpanel-2.2.0
- old
+ new
@@ -1,6 +1,7 @@
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
@@ -8,18 +9,29 @@
# 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