code format clean up ApplicationHelper#link_to_issue

git-svn-id: http://svn.redmine.org/redmine/trunk@12808 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-02-05 03:24:07 +00:00
parent bd6d45428f
commit f44c32557c
1 changed files with 2 additions and 1 deletions

View File

@ -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