diff --git a/lib/generators/switch_user/install/templates/switch_user.rb b/lib/generators/switch_user/install/templates/switch_user.rb index 8fef389..5a8fb4e 100644 --- a/lib/generators/switch_user/install/templates/switch_user.rb +++ b/lib/generators/switch_user/install/templates/switch_user.rb @@ -2,7 +2,8 @@ SwitchUser.setup do |config| # provider may be :devise, :authlogic, :clearance, :restful_authentication, :sorcery, or :session - config.provider = :devise + config.provider = + :devise # available_users is a hash, # key is the model name of user (:user, :admin, or any name you use),