diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/auth/registrations_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb index c67757bbc..4dedef817 100644 --- a/app/controllers/auth/registrations_controller.rb +++ b/app/controllers/auth/registrations_controller.rb @@ -37,7 +37,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController def create super do |resource| - return redirect_to root_path if resource.destroyed? + return redirect_to root_path, notice: I18n.t('about.registration.failed_kobold') if resource.destroyed? end end |