remove unused and locales

This commit is contained in:
David Gil
2015-08-24 19:49:10 +02:00
parent 158e203936
commit ddcef1a0f2
3 changed files with 1 additions and 3 deletions

View File

@@ -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

View File

@@ -153,4 +153,3 @@ en:
title: Add Email
twitter:
sign_in: Sign in with Twitter
or: or

View File

@@ -153,4 +153,3 @@ es:
title: Añade tu email
twitter:
sign_in: Inicia sessión con Twitter
or: o