#1250修改帐号后将帐号更新成功放在一个显眼的位置

This commit is contained in:
sw 2014-10-23 09:22:41 +08:00
parent 2f2b916ef8
commit e9124c62ce
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ class MyController < ApplicationController
@user.pref.save
@user.notified_project_ids = (@user.mail_notification == 'selected' ? params[:notified_project_ids] : [])
set_language_if_valid @user.language
flash.now[:notice] = l(:notice_account_updated)
flash[:notice] = l(:notice_account_updated)
redirect_to user_url(@user)
return
else

View File

@ -281,7 +281,7 @@
<%= yield %>
<%= call_hook :view_layouts_base_content %>
<div style="clear:both;"></div>
<%= render_flash_messages %>
<%#= render_flash_messages %>
</div>