diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-07 18:30:01 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-07 18:30:01 +0000 |
commit | cf4651b6bb384eb6ebc6fea383ca483fdf1fb55a (patch) | |
tree | 424d7db17839c7ab1524797468dbaff426641d73 /app/views/my/blocks/_calendar.rhtml | |
parent | 14314b77ee9fad9cd55ccd7ddaddf9f1e29e4419 (diff) | |
download | redmine-cf4651b6bb384eb6ebc6fea383ca483fdf1fb55a.tar.gz redmine-cf4651b6bb384eb6ebc6fea383ca483fdf1fb55a.zip |
Added link_to_issue helper.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@431 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my/blocks/_calendar.rhtml')
-rw-r--r-- | app/views/my/blocks/_calendar.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/my/blocks/_calendar.rhtml b/app/views/my/blocks/_calendar.rhtml index fe0b1f862..fa83b4d1d 100644 --- a/app/views/my/blocks/_calendar.rhtml +++ b/app/views/my/blocks/_calendar.rhtml @@ -35,7 +35,7 @@ while day <= @date_to elsif day == i.due_date image_tag('arrow_to.png') end %> - <small><%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small><br /> + <small><%= link_to_issue i %>: <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small><br /> <% end %> </td> <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %> |