displays email sent flash after sign up

This commit is contained in:
rgarcia
2015-08-29 15:43:47 +02:00
parent f92b6de22d
commit 171150bcf5

View File

@@ -29,4 +29,8 @@ class Users::RegistrationsController < Devise::RegistrationsController
params.require(:user).permit(:username, :email, :password, :password_confirmation, :captcha, :captcha_key)
end
def after_inactive_sign_up_path_for(resource_or_scope)
beta_site? ? new_user_session_path : super
end
end