Add nested route url

This commit is contained in:
Wen-Tien Chang committed 2010-02-05 17:18:57 +08:00
1 parent e11dc5dd83
commit 66a462faa8
5 files changed
+14 -5

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
<td><%= item.position %></td>
<td><%= item.is_published.to_s %></td>
<td>
<%= link_to t(:show), admin_component_path(item.name) %> |
<%= link_to t(:show), item.url %> |
<%= link_to t(:edit), edit_admin_component_path(item) %> |
<%= link_to t(:delete), admin_component_path(item), :confirm => 'Are you sure?', :method => :delete %>
</td>
+1 -1
View File
@@ -5,7 +5,7 @@
<td><%= item.position %></td>
<td><%= item.is_published.to_s %></td>
<td>
<%= link_to t(:show), admin_link_path(item.name) %> |
<%= link_to t(:show), item.url %> |
<%= link_to t(:edit), edit_admin_link_path(item) %> |
<%= link_to t(:delete), admin_link_path(item), :confirm => 'Are you sure?', :method => :delete %>
</td>
+1 -1
View File
@@ -5,7 +5,7 @@
<td><%= item.position %></td>
<td><%= item.is_published.to_s %></td>
<td>
<%= link_to t(:show), admin_page_path(item.name) %> |
<%= link_to t(:show), item.url %> |
<%= link_to t(:edit), edit_admin_page_path(item) %> |
<%= link_to t(:delete), admin_page_path(item), :confirm => 'Are you sure?', :method => :delete %>
</td>