adds change me note

This commit is contained in:
rgarcia
2015-10-12 14:06:02 +02:00
parent b2bd3d455b
commit f5d0b8083f

View File

@@ -26,7 +26,10 @@ class Verification::EmailController < ApplicationController
@email.encrypted_token,
@verified_user.document_type,
@verified_user.document_number).deliver_later
###CHANGE ME
#we should not have access to the account_page of a managed_user
redirect_to account_path, notice: t('verification.email.create.flash.success', email: @verified_user.email)
###
else
redirect_to verified_user_path, alert: t('verification.email.create.alert.failure')
end