Use named route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10675 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2b4389466f
commit
9b702971bf
|
@ -78,9 +78,7 @@ module ApplicationHelper
|
|||
subject = truncate(subject, :length => options[:truncate])
|
||||
end
|
||||
end
|
||||
s = link_to text, {:controller => "issues", :action => "show", :id => issue},
|
||||
:class => issue.css_classes,
|
||||
:title => title
|
||||
s = link_to text, issue_path(issue), :class => issue.css_classes, :title => title
|
||||
s << h(": #{subject}") if subject
|
||||
s = h("#{issue.project} - ") + s if options[:project]
|
||||
s
|
||||
|
|
Loading…
Reference in New Issue