提交 87f89bc9 编写于 作者: M Marin Jankovski

Redirect to sign in page after signup, this will show the correct flash message.

上级 1b765541
......@@ -15,6 +15,14 @@ class RegistrationsController < Devise::RegistrationsController
super
end
def after_sign_up_path_for resource
new_user_session_path
end
def after_inactive_sign_up_path_for resource
new_user_session_path
end
private
def signup_enabled?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册