]> source.dussan.org Git - redmine.git/commitdiff
Fix the calendar link in the Issues sidebar. #5591
authorEric Davis <edavis@littlestreamsoftware.com>
Sun, 22 Aug 2010 18:30:26 +0000 (18:30 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Sun, 22 Aug 2010 18:30:26 +0000 (18:30 +0000)
Contributed by Andrew Rudenko

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4012 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_sidebar.rhtml

index bcf0837f8de65298fd6a18b701b66a6f501ecbdb..db85f97b9b40f331845a46c1b5d1c497fbd79736 100644 (file)
@@ -6,7 +6,7 @@
 <%= call_hook(:view_issues_sidebar_issues_bottom) %>
 
 <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
-       <%= link_to(l(:label_calendar), :controller => 'issues', :action => 'calendar', :project_id => @project) %><br />
+       <%= link_to(l(:label_calendar), :controller => 'calendars', :action => 'show', :project_id => @project) %><br />
 <% end %>
 <% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
        <%= link_to(l(:label_gantt), :controller => 'gantts', :action => 'show', :project_id => @project) %><br />