From 7ad9065c018f994dca25a7cea2deff3b3ee788a8 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 9 Nov 2020 13:24:14 +0000 Subject: [PATCH] use "do end" instead of {} at IssuesController git-svn-id: http://svn.redmine.org/redmine/trunk@20310 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issues_controller.rb | 4 ++-- 1 file 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 -- 2.39.5