lib/generators/avo/templates/initializer/avo.tt in avo-1.6.0 vs lib/generators/avo/templates/initializer/avo.tt in avo-1.6.1
- old
+ new
@@ -10,10 +10,10 @@
config.set_context do
# Return a context object that gets evaluated in Avo::ApplicationController
end
## == Authentication ==
- # config.current_user_method(&:current_user)
+ # config.current_user_method = :current_user
# config.authenticate_with do
# warden.authenticate! scope: :user
# end
## == Authorization ==