summaryrefslogtreecommitdiff
path: root/app/views/nodes
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-03-15 19:27:37 +0100
committerhukl <contact@smyck.org>2009-03-15 19:27:37 +0100
commit7f82b8e23ec9b76d0b8a417b2d2b577aeaf7a55f (patch)
treec70ba3e35987c035831c6244874774491285a99d /app/views/nodes
parenta936993a5a7bbe7bb4f679d3adc059929cd0d7c5 (diff)
adding revision links to the interface. disabling destroy for now
Diffstat (limited to 'app/views/nodes')
-rw-r--r--app/views/nodes/index.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb
index a2a42b1..31cd53c 100644
--- a/app/views/nodes/index.html.erb
+++ b/app/views/nodes/index.html.erb
@@ -24,7 +24,8 @@
24 <td> 24 <td>
25 <%= link_to 'Show', node_path(node) %> 25 <%= link_to 'Show', node_path(node) %>
26 <%= link_to 'Edit', edit_node_path(node) %> 26 <%= link_to 'Edit', edit_node_path(node) %>
27 <%= link_to 'Destroy', node, :method => :delete, :confirm => "Are you sure you want to delete this node?" %> 27 <%= link_to 'Revision', :controller => :revisions, :action => :show, :id => node.id %>
28 <%# link_to 'Destroy', node, :method => :delete, :confirm => "Are you sure you want to delete this node?" %>
28 <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %> 29 <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %>
29 </td> 30 </td>
30 <td> 31 <td>