Merge branch 'flash_message_after_signup' into 'master'
Flash message after signup Fixes #1366 See merge request !948
This commit is contained in:
commit
d3fcb60e43
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Reference in New Issue