Skip to content

Commit 566cd0f

Browse files
committed
fix: Convert Devise.sign_out_via to String
Since lastest Alchemy main (8.1.0.a) this needs to be a String and cannot be a Symbol.
1 parent fa27d9e commit 566cd0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/initializers/alchemy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
Alchemy.signup_path = "/admin/signup"
1919
Alchemy.login_path = "/admin/login"
2020
Alchemy.logout_path = "/admin/logout"
21-
Alchemy.logout_method = Devise.sign_out_via
21+
Alchemy.logout_method = Devise.sign_out_via.to_s
2222
end

0 commit comments

Comments
 (0)