From a96cd79938f1c3c126f659ec44bd939b890d7ff7 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 20 Nov 2020 11:36:59 +0000 Subject: remove spaces inside {} of IssueCategoriesController git-svn-id: http://svn.redmine.org/redmine/trunk@20452 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issue_categories_controller.rb | 22 +++++++++++----------- 1 file 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 -- cgit v1.2.3