lib/generators/trestle/auth/install/templates/basic.rb.erb in trestle-auth-0.4.0 vs lib/generators/trestle/auth/install/templates/basic.rb.erb in trestle-auth-0.4.1
- old
+ new
@@ -7,12 +7,12 @@
# Specify the scope for valid admin users.
# Defaults to config.auth.user_class (unscoped).
#
# config.auth.user_scope = -> { User.where(admin: true) }
-# Specify the Trestle admin for managing administrator users.
+# Specify the Trestle admin for managing the current user (My Account).
#
-config.auth.user_admin = -> { :"auth/<%= model.underscore.pluralize %>" }
+config.auth.user_admin = -> { :"auth/account" }
# Specify the parameter (along with a password) to be used to
# authenticate an administrator. Defaults to :email.
#
# config.auth.authenticate_with = :login
\ No newline at end of file