]> source.dussan.org Git - redmine.git/commitdiff
use "do end" instead of {} at IssueCategoriesController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 9 Nov 2020 13:24:29 +0000 (13:24 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 9 Nov 2020 13:24:29 +0000 (13:24 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20312 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issue_categories_controller.rb

index a6995ae95323a54f85dd8b64ed066cd9754652c8..8c1e05750a9b70230c096dacfa0aa5227e3a73bd 100644 (file)
@@ -78,10 +78,10 @@ class IssueCategoriesController < ApplicationController
     @category.safe_attributes = params[:issue_category]
     if @category.save
       respond_to do |format|
-        format.html {
+        format.html do
           flash[:notice] = l(:notice_successful_update)
           redirect_to_settings_in_projects
-        }
+        end
         format.api { render_api_ok }
       end
     else