remove unused and locales
This commit is contained in:
@@ -17,7 +17,7 @@ class Users::RegistrationsController < Devise::RegistrationsController
|
|||||||
if current_user.update(sign_up_params)
|
if current_user.update(sign_up_params)
|
||||||
current_user.skip_reconfirmation!
|
current_user.skip_reconfirmation!
|
||||||
sign_in(current_user, bypass: true)
|
sign_in(current_user, bypass: true)
|
||||||
redirect_to root_url, notice: I18n.t('devise.registrations.updated')
|
redirect_to root_url
|
||||||
else
|
else
|
||||||
@show_errors = true
|
@show_errors = true
|
||||||
render :finish_signup
|
render :finish_signup
|
||||||
|
|||||||
@@ -153,4 +153,3 @@ en:
|
|||||||
title: Add Email
|
title: Add Email
|
||||||
twitter:
|
twitter:
|
||||||
sign_in: Sign in with Twitter
|
sign_in: Sign in with Twitter
|
||||||
or: or
|
|
||||||
|
|||||||
@@ -153,4 +153,3 @@ es:
|
|||||||
title: Añade tu email
|
title: Añade tu email
|
||||||
twitter:
|
twitter:
|
||||||
sign_in: Inicia sessión con Twitter
|
sign_in: Inicia sessión con Twitter
|
||||||
or: o
|
|
||||||
|
|||||||
Reference in New Issue
Block a user