diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-09-24 16:07:12 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-09-24 16:07:12 +0000 |
commit | f76bd5f9c3016eaebacbe2101b55242bbbc73543 (patch) | |
tree | cb384556ab2f921e20ae2f6b281df510d5c12b2a /app/controllers/my_controller.rb | |
parent | b8575166d8d4b22af53b461df61cf22e9024a9ab (diff) | |
download | redmine-f76bd5f9c3016eaebacbe2101b55242bbbc73543.tar.gz redmine-f76bd5f9c3016eaebacbe2101b55242bbbc73543.zip |
remove spaces inside {} of MyController
git-svn-id: http://svn.redmine.org/redmine/trunk@20076 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/my_controller.rb')
-rw-r--r-- | app/controllers/my_controller.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/controllers/my_controller.rb b/app/controllers/my_controller.rb index ecf8e81ab..d102f4730 100644 --- a/app/controllers/my_controller.rb +++ b/app/controllers/my_controller.rb @@ -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 |