summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-05 03:24:07 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-02-05 03:24:07 +0000
commitf44c32557c5e0c7b94aec496c09eca9b283de267 (patch)
treeb4c4d1dc380f0b3ce74347b2c4a13ed1e6a40199 /app
parentbd6d45428fdab2e9e62ace00298cbd8fbf10db43 (diff)
downloadredmine-f44c32557c5e0c7b94aec496c09eca9b283de267.tar.gz
redmine-f44c32557c5e0c7b94aec496c09eca9b283de267.zip
code format clean up ApplicationHelper#link_to_issue
git-svn-id: http://svn.redmine.org/redmine/trunk@12808 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/application_helper.rb3
1 files changed, 2 insertions, 1 deletions
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