summaryrefslogtreecommitdiffstats
path: root/app/views/my/blocks/_calendar.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-07 18:30:01 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-07 18:30:01 +0000
commitcf4651b6bb384eb6ebc6fea383ca483fdf1fb55a (patch)
tree424d7db17839c7ab1524797468dbaff426641d73 /app/views/my/blocks/_calendar.rhtml
parent14314b77ee9fad9cd55ccd7ddaddf9f1e29e4419 (diff)
downloadredmine-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.rhtml2
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 %>