From ddcef1a0f22fd061f987bbfc01a10dd49afc9d2f Mon Sep 17 00:00:00 2001 From: David Gil Date: Mon, 24 Aug 2015 19:49:10 +0200 Subject: [PATCH] remove unused and locales --- app/controllers/users/registrations_controller.rb | 2 +- config/locales/en.yml | 1 - config/locales/es.yml | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/controllers/users/registrations_controller.rb b/app/controllers/users/registrations_controller.rb index d1fc54aab..989badc76 100644 --- a/app/controllers/users/registrations_controller.rb +++ b/app/controllers/users/registrations_controller.rb @@ -17,7 +17,7 @@ class Users::RegistrationsController < Devise::RegistrationsController if current_user.update(sign_up_params) current_user.skip_reconfirmation! sign_in(current_user, bypass: true) - redirect_to root_url, notice: I18n.t('devise.registrations.updated') + redirect_to root_url else @show_errors = true render :finish_signup diff --git a/config/locales/en.yml b/config/locales/en.yml index 725955c30..11f012080 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -153,4 +153,3 @@ en: title: Add Email twitter: sign_in: Sign in with Twitter - or: or diff --git a/config/locales/es.yml b/config/locales/es.yml index efd0fd88e..2a5ee2ec5 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -153,4 +153,3 @@ es: title: Añade tu email twitter: sign_in: Inicia sessión con Twitter - or: o