lib/generators/avo/templates/initializer/avo.tt in avo-1.19.1.pre.6 vs lib/generators/avo/templates/initializer/avo.tt in avo-1.19.1.pre.7
- old
+ new
@@ -1,22 +1,21 @@
+# For more information regaring these settings check out our docs https://docs.avohq.io
Avo.configure do |config|
## == Routing ==
config.root_path = '/<%= options[:path] %>'
## == Licensing ==
- config.license = 'community'
+ config.license = 'community' # change this to 'pro' when you add the license key
# config.license_key = ENV['AVO_LICENSE_KEY']
## == Set the context ==
config.set_context do
# Return a context object that gets evaluated in Avo::ApplicationController
end
## == Authentication ==
- # config.current_user_method = :current_user
- # config.authenticate_with do
- # warden.authenticate! scope: :user
- # end
+ # config.current_user_method = {}
+ # config.authenticate_with = {}
## == Authorization ==
# config.authorization_methods = {
# index: 'index?',
# show: 'show?',