diff options
Diffstat (limited to 'app/views/nodes/index.html.erb')
| -rw-r--r-- | app/views/nodes/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index 2f6069f8..0603c08b 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb | |||
| @@ -16,11 +16,11 @@ | |||
| 16 | <tr class="<%= cycle("even", "odd") %>"> | 16 | <tr class="<%= cycle("even", "odd") %>"> |
| 17 | <td class="node_id"><%= node.id %></td> | 17 | <td class="node_id"><%= node.id %></td> |
| 18 | <td class="title"> | 18 | <td class="title"> |
| 19 | <h4><%= link_to title_for_node(node), edit_node_path(node) %></h4> | 19 | <h4><%= link_to title_for_node(node), node_path(node) %></h4> |
| 20 | <p><%= link_to_path(node.unique_name, node.unique_name) %></p> | 20 | <p><%= link_to_path(node.unique_name, node.unique_name) %></p> |
| 21 | </td> | 21 | </td> |
| 22 | <td class="actions"> | 22 | <td class="actions"> |
| 23 | <%= link_to 'Preview', node_path(node) %> | 23 | <%= link_to 'show', node_path(node) %> |
| 24 | <%= link_to 'Revisions', :controller => :revisions, :action => :show, :id => node.id %> | 24 | <%= link_to 'Revisions', :controller => :revisions, :action => :show, :id => node.id %> |
| 25 | <%# link_to 'Destroy', node, :method => :delete, :confirm => "Are you sure you want to delete this node?" %> | 25 | <%# link_to 'Destroy', node, :method => :delete, :confirm => "Are you sure you want to delete this node?" %> |
| 26 | <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %> | 26 | <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %> |
