Commit 56e8b2576f684d6175ba8a3920eb5dc9ef689b81
Committed by
Antonio Terceiro
1 parent
e29b7ab1
Exists in
master
and in
28 other branches
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 | 72 | <tr> |
73 | 73 | <td> |
74 | 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 | 76 | </td> |
77 | 77 | <td> |
78 | 78 | <%= item.class.short_description %> | ... | ... |