summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-09 13:24:14 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-09 13:24:14 +0000
commit7ad9065c018f994dca25a7cea2deff3b3ee788a8 (patch)
treebf7502bd337eaefbf27ff242ae7bb4c4f06336be
parent2046f0a8e27ebc1ddc3b5a288ce83c016db1bb51 (diff)
downloadredmine-7ad9065c018f994dca25a7cea2deff3b3ee788a8.tar.gz
redmine-7ad9065c018f994dca25a7cea2deff3b3ee788a8.zip
use "do end" instead of {} at IssuesController
git-svn-id: http://svn.redmine.org/redmine/trunk@20310 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/controllers/issues_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index 4eb1da96d..ce4e5814b 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -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