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

app/controllers/issues_controller.rb

index 4eb1da96d228a37d70a07f650694ede85d8d52a5..ce4e5814b22a5591928a359fe635747e7cc334e0 100644 (file)
@@ -448,10 +448,10 @@ class IssuesController < ApplicationController
       end
     end
     respond_to do |format|
-      format.html {
+      format.html do
         flash[:notice] = l(:notice_successful_delete)
         redirect_back_or_default _project_issues_path(@project)
-      }
+      end
       format.api  {render_api_ok}
     end
   end