From 7b38e405903cb2247515d06659de4a087d148bdf Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Wed, 12 Sep 2007 06:35:22 +0000 Subject: [PATCH] ActionItem7: do not try to add a link to / --- app/views/content_viewer/view_page.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/content_viewer/view_page.rhtml b/app/views/content_viewer/view_page.rhtml index e4699d4..81b1512 100644 --- a/app/views/content_viewer/view_page.rhtml +++ b/app/views/content_viewer/view_page.rhtml @@ -1,6 +1,6 @@

<%= @page.title %>

-<% if @page.parent %> +<% if @page.parent && !@page.parent.full_path.blank? %> <%= link_to_document(@page.parent, _('Up')) %>
<% end %> -- libgit2 0.21.2