From 9270f37860b8228fcff891d46814ea3f3904c04e Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 9 Aug 2020 15:57:36 +0000 Subject: [PATCH] use "do end" instead of {} at IssuesHelper git-svn-id: http://svn.redmine.org/redmine/trunk@19971 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/issues_helper.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 4907090d9..a6515d283 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -175,11 +175,12 @@ module IssuesHelper false, :id => nil), :class => 'checkbox') + content_tag('td', - relation.to_s(@issue) {|other| + relation.to_s(@issue) do |other| link_to_issue( other, - :project => Setting.cross_project_issue_relations?) - }.html_safe, + :project => Setting.cross_project_issue_relations? + ) + end.html_safe, :class => 'subject') + content_tag('td', other_issue.status, :class => 'status') + content_tag('td', link_to_user(other_issue.assigned_to), :class => 'assigned_to') +