We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 94b5915 + c44d0cc commit 9468d85Copy full SHA for 9468d85
2 files changed
Gemfile
@@ -11,6 +11,7 @@ unless ENV['CI']
11
gem 'spring-commands-rspec'
12
gem 'launchy'
13
gem 'github_fast_changelog', require: false
14
+ gem 'listen', require: false
15
end
16
17
group :test do
config/initializers/alchemy.rb
@@ -18,3 +18,9 @@
18
Alchemy.signup_path = '/admin/signup'
19
Alchemy.login_path = '/admin/login'
20
Alchemy.logout_path = '/admin/logout'
21
+
22
+if Alchemy.respond_to?(:logout_method)
23
+ Rails.application.config.after_initialize do
24
+ Alchemy.logout_method = Devise.sign_out_via
25
+ end
26
+end
0 commit comments