##// END OF EJS Templates
Use named route....
Jean-Philippe Lang -
r10464:9b702971bf4c
parent child
Show More
@@ -78,9 +78,7 module ApplicationHelper
78 subject = truncate(subject, :length => options[:truncate])
78 subject = truncate(subject, :length => options[:truncate])
79 end
79 end
80 end
80 end
81 s = link_to text, {:controller => "issues", :action => "show", :id => issue},
81 s = link_to text, issue_path(issue), :class => issue.css_classes, :title => title
82 :class => issue.css_classes,
83 :title => title
84 s << h(": #{subject}") if subject
82 s << h(": #{subject}") if subject
85 s = h("#{issue.project} - ") + s if options[:project]
83 s = h("#{issue.project} - ") + s if options[:project]
86 s
84 s
General Comments 0
You need to be logged in to leave comments. Login now