From 56e8b2576f684d6175ba8a3920eb5dc9ef689b81 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 4 Aug 2010 14:29:32 -0300 Subject: [PATCH] Subitems links in the cms goes to view page instead of edit page --- app/views/cms/view.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cms/view.rhtml b/app/views/cms/view.rhtml index 1d5d268..608a524 100644 --- a/app/views/cms/view.rhtml +++ b/app/views/cms/view.rhtml @@ -72,7 +72,7 @@ <%= image_tag(icon_for_article(item)) %> - <%= link_to short_filename(item.name,30), :action => 'edit', :id => item.id %> + <%= link_to short_filename(item.name,30), item.url %> <%= item.class.short_description %> -- libgit2 0.21.2