FIX: do not persist error message

This commit is contained in:
Arpit Jalan 2015-08-24 00:29:16 +05:30
parent 1b385bba2f
commit 91519fdfe7
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ class UsersController < ApplicationController
end
else
flash[:error] = I18n.t('activation.already_done')
flash.now[:error] = I18n.t('activation.already_done')
end
render layout: 'no_ember'
end