#1250修改帐号后将帐号更新成功放在一个显眼的位置
This commit is contained in:
parent
2f2b916ef8
commit
e9124c62ce
|
@ -130,7 +130,7 @@ class MyController < ApplicationController
|
||||||
@user.pref.save
|
@user.pref.save
|
||||||
@user.notified_project_ids = (@user.mail_notification == 'selected' ? params[:notified_project_ids] : [])
|
@user.notified_project_ids = (@user.mail_notification == 'selected' ? params[:notified_project_ids] : [])
|
||||||
set_language_if_valid @user.language
|
set_language_if_valid @user.language
|
||||||
flash.now[:notice] = l(:notice_account_updated)
|
flash[:notice] = l(:notice_account_updated)
|
||||||
redirect_to user_url(@user)
|
redirect_to user_url(@user)
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
|
|
|
@ -281,7 +281,7 @@
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
<%= call_hook :view_layouts_base_content %>
|
<%= call_hook :view_layouts_base_content %>
|
||||||
<div style="clear:both;"></div>
|
<div style="clear:both;"></div>
|
||||||
<%= render_flash_messages %>
|
<%#= render_flash_messages %>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue