Sha256: 690bc49c02c5aedbeb9ce6020534e46e7b43209df7e87d7c3ad968c54ee0caa8
Contents?: true
Size: 975 Bytes
Versions: 6
Compression:
Stored size: 975 Bytes
Contents
# Use this hook to configure user_mgmt external database URI, and so forth. # Many of these configuration options can be set straight in your model. UserMgmt.setup do |config| # Ensure you defined default external database URI, otherwise # authentication won't be possible to happen config.external_database_URI = "http://localhost:3000/" # Namespace router name. It is gonna appear in front of every route that the gem generates. # If you change this name, you are gonna have to change it as well in your app's routes file: # mount UserMgmt::Engine => "/new_name" config.router_name = "user/" end # Edit your strategy keys: ENV['TWITTER_KEY'] = "" ENV['TWITTER_SECRET'] = "" ENV['FACEBOOK_KEY'] = "" ENV['FACEBOOK_SECRET'] = "" # The code below include the view helpers from user_mgmt in the main app. # NOTE: Do not change this code. ActiveSupport.on_load :action_controller do helper UserMgmt::ApplicationHelper end
Version data entries
6 entries across 6 versions & 1 rubygems