From f44c32557c5e0c7b94aec496c09eca9b283de267 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 5 Feb 2014 03:24:07 +0000 Subject: [PATCH] code format clean up ApplicationHelper#link_to_issue git-svn-id: http://svn.redmine.org/redmine/trunk@12808 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 22a841478..73fe2d3fb 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -80,7 +80,8 @@ module ApplicationHelper end end only_path = options[:only_path].nil? ? true : options[:only_path] - s = link_to text, issue_path(issue, :only_path => only_path), :class => issue.css_classes, :title => title + s = link_to(text, issue_path(issue, :only_path => only_path), + :class => issue.css_classes, :title => title) s << h(": #{subject}") if subject s = h("#{issue.project} - ") + s if options[:project] s -- 2.39.5