Commit 87f89bc9 by Marin Jankovski

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

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment