mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00:00
use "do end" instead of {} at MyController
git-svn-id: http://svn.redmine.org/redmine/trunk@20077 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f76bd5f9c3
commit
f1e86fb99d
@ -58,10 +58,10 @@ class MyController < ApplicationController
|
||||
@user.pref.save
|
||||
set_language_if_valid @user.language
|
||||
respond_to do |format|
|
||||
format.html {
|
||||
format.html do
|
||||
flash[:notice] = l(:notice_account_updated)
|
||||
redirect_to my_account_path
|
||||
}
|
||||
end
|
||||
format.api {render_api_ok}
|
||||
end
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user