Commit 56e8b2576f684d6175ba8a3920eb5dc9ef689b81

Authored by Rodrigo Souto
Committed by Antonio Terceiro
1 parent e29b7ab1

Subitems links in the cms goes to view page instead of edit page

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/cms/view.rhtml
@@ -72,7 +72,7 @@ @@ -72,7 +72,7 @@
72 <tr> 72 <tr>
73 <td> 73 <td>
74 <%= image_tag(icon_for_article(item)) %> 74 <%= image_tag(icon_for_article(item)) %>
75 - <%= link_to short_filename(item.name,30), :action => 'edit', :id => item.id %> 75 + <%= link_to short_filename(item.name,30), item.url %>
76 </td> 76 </td>
77 <td> 77 <td>
78 <%= item.class.short_description %> 78 <%= item.class.short_description %>