Browse files

Fixed broken Links on Projects Sidebar to view Spent Time Details & R…

…eports.
  • Loading branch information...
1 parent 140b541 commit 64ed4438d0b55b4efdf1cdc8761f7ccc1e98fc3f @ainben ainben committed Jun 28, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/projects/show.rhtml
View
4 app/views/projects/show.rhtml
@@ -37,8 +37,8 @@
<% if @total_hours && User.current.allowed_to?(:view_time_entries, @project) %>
<h3><%= l(:label_spent_time) %></h3>
<p><span class="icon icon-time"><%= l_hours(@total_hours) %></span></p>
- <p><%= link_to(l(:label_details), {:controller => 'timelog', :action => 'details', :project_id => @project}) %> |
- <%= link_to(l(:label_report), {:controller => 'timelog', :action => 'report', :project_id => @project}) %></p>
+ <p><%= link_to(l(:label_details), {:controller => 'timelog', :action => 'index', :project_id => @project}) %> |
+ <%= link_to(l(:label_report), {:controller => 'time_entry_reports', :action => 'report', :project_id => @project}) %></p>
<% end %>
<%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %>
<% end %>

0 comments on commit 64ed443

Please sign in to comment.