diff options
Diffstat (limited to 'app/views/projects/show.html.erb')
-rw-r--r-- | app/views/projects/show.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index 5371bc4c8..4963ebbe4 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -12,7 +12,7 @@ </div> <ul> <% unless @project.homepage.blank? %> - <li><%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)).html_safe %></li> + <li><%=l(:field_homepage)%>: <%= link_to h(@project.homepage), @project.homepage %></li> <% end %> <% if @subprojects.any? %> <li><%=l(:label_subproject_plural)%>: @@ -69,8 +69,8 @@ <% if @total_hours.present? %> <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 => 'index', :project_id => @project}) %> | - <%= link_to(l(:label_report), {:controller => 'timelog', :action => 'report', :project_id => @project}) %></p> + <p><%= link_to(l(:label_details), project_time_entries_path(@project)) %> | + <%= link_to(l(:label_report), report_project_time_entries_path(@project)) %></p> <% end %> <%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %> <% end %> |