mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-28 03:11:15 +00:00
remove spaces inside {} of MyController
git-svn-id: http://svn.redmine.org/redmine/trunk@20076 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b8575166d8
commit
f76bd5f9c3
@ -62,13 +62,13 @@ class MyController < ApplicationController
|
||||
flash[:notice] = l(:notice_account_updated)
|
||||
redirect_to my_account_path
|
||||
}
|
||||
format.api { render_api_ok }
|
||||
format.api {render_api_ok}
|
||||
end
|
||||
return
|
||||
else
|
||||
respond_to do |format|
|
||||
format.html { render :action => :account }
|
||||
format.api { render_validation_errors(@user) }
|
||||
format.html {render :action => :account}
|
||||
format.api {render_validation_errors(@user)}
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -169,7 +169,7 @@ class MyController < ApplicationController
|
||||
if @user.pref.add_block @block
|
||||
@user.pref.save
|
||||
respond_to do |format|
|
||||
format.html { redirect_to my_page_path }
|
||||
format.html {redirect_to my_page_path}
|
||||
format.js
|
||||
end
|
||||
else
|
||||
@ -185,7 +185,7 @@ class MyController < ApplicationController
|
||||
@user.pref.remove_block @block
|
||||
@user.pref.save
|
||||
respond_to do |format|
|
||||
format.html { redirect_to my_page_path }
|
||||
format.html {redirect_to my_page_path}
|
||||
format.js
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user