diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-20 11:36:59 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-20 11:36:59 +0000 |
commit | a96cd79938f1c3c126f659ec44bd939b890d7ff7 (patch) | |
tree | 4f40d08f3f41c9859ce5f5eaf856bfa077ced22f /app/controllers/issue_categories_controller.rb | |
parent | 9d22229d2fc6f7c51aa3aaa6f7120ffbba9fc93e (diff) | |
download | redmine-a96cd79938f1c3c126f659ec44bd939b890d7ff7.tar.gz redmine-a96cd79938f1c3c126f659ec44bd939b890d7ff7.zip |
remove spaces inside {} of IssueCategoriesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20452 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issue_categories_controller.rb')
-rw-r--r-- | app/controllers/issue_categories_controller.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/controllers/issue_categories_controller.rb b/app/controllers/issue_categories_controller.rb index acd3abbde..1e2b8612f 100644 --- a/app/controllers/issue_categories_controller.rb +++ b/app/controllers/issue_categories_controller.rb @@ -28,14 +28,14 @@ class IssueCategoriesController < ApplicationController def index respond_to do |format| - format.html { redirect_to_settings_in_projects } - format.api { @categories = @project.issue_categories.to_a } + format.html {redirect_to_settings_in_projects} + format.api {@categories = @project.issue_categories.to_a} end end def show respond_to do |format| - format.html { redirect_to_settings_in_projects } + format.html {redirect_to_settings_in_projects} format.api end end @@ -67,9 +67,9 @@ class IssueCategoriesController < ApplicationController end else respond_to do |format| - format.html { render :action => 'new'} - format.js { render :action => 'new'} - format.api { render_validation_errors(@category) } + format.html {render :action => 'new'} + format.js {render :action => 'new'} + format.api {render_validation_errors(@category)} end end end @@ -85,12 +85,12 @@ class IssueCategoriesController < ApplicationController flash[:notice] = l(:notice_successful_update) redirect_to_settings_in_projects end - format.api { render_api_ok } + format.api {render_api_ok} end else respond_to do |format| - format.html { render :action => 'edit' } - format.api { render_validation_errors(@category) } + format.html {render :action => 'edit'} + format.api {render_validation_errors(@category)} end end end @@ -104,8 +104,8 @@ class IssueCategoriesController < ApplicationController end @category.destroy(reassign_to) respond_to do |format| - format.html { redirect_to_settings_in_projects } - format.api { render_api_ok } + format.html {redirect_to_settings_in_projects} + format.api {render_api_ok} end return end |