diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-14 13:18:18 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-14 13:18:18 +0000 |
commit | 053bcc2bdac12defff84859dd35d6087d7f0a0f9 (patch) | |
tree | 8aec2cdc779eb2759954c74249e5a9e12b884600 /app/controllers/issue_relations_controller.rb | |
parent | b3c19888c52059a204d93adf8d6a3aefde08c204 (diff) | |
download | redmine-053bcc2bdac12defff84859dd35d6087d7f0a0f9.tar.gz redmine-053bcc2bdac12defff84859dd35d6087d7f0a0f9.zip |
remove spaces inside {} of IssueRelationsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20369 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issue_relations_controller.rb')
-rw-r--r-- | app/controllers/issue_relations_controller.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/controllers/issue_relations_controller.rb b/app/controllers/issue_relations_controller.rb index 648ced3d3..1cceba576 100644 --- a/app/controllers/issue_relations_controller.rb +++ b/app/controllers/issue_relations_controller.rb @@ -29,7 +29,7 @@ class IssueRelationsController < ApplicationController @relations = @issue.relations respond_to do |format| - format.html { head 200 } + format.html {head 200} format.api end end @@ -38,7 +38,7 @@ class IssueRelationsController < ApplicationController raise Unauthorized unless @relation.visible? respond_to do |format| - format.html { head 200 } + format.html {head 200} format.api end end @@ -57,9 +57,9 @@ class IssueRelationsController < ApplicationController end respond_to do |format| - format.html { redirect_to issue_path(@issue) } + format.html {redirect_to issue_path(@issue)} format.js do - @relations = @issue.reload.relations.select {|r| r.other_issue(@issue) && r.other_issue(@issue).visible? } + @relations = @issue.reload.relations.select {|r| r.other_issue(@issue) && r.other_issue(@issue).visible?} end format.api do if saved @@ -78,9 +78,9 @@ class IssueRelationsController < ApplicationController @relation.destroy respond_to do |format| - format.html { redirect_to issue_path(@relation.issue_from) } + format.html {redirect_to issue_path(@relation.issue_from)} format.js - format.api { render_api_ok } + format.api {render_api_ok} end end |