diff options
| author | hukl <contact@smyck.org> | 2009-03-15 20:19:05 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-03-15 20:19:05 +0100 |
| commit | ca08b36ca6bd874abbb7207495860eeeb53884e0 (patch) | |
| tree | 46a8105510b13c5effb1ea917df9f3dca2a07976 | |
| parent | 2d06e3bd5b484ef06f871b589bfabf6307bca1db (diff) | |
this was the wrong revision number
| -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 31cd53c..ad60498 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | <td><%= node.unique_name %></td> | 23 | <td><%= node.unique_name %></td> |
| 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 'Revision', :controller => :revisions, :action => :show, :id => node.id %> | 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 'Destroy', node, :method => :delete, :confirm => "Are you sure you want to delete this node?" %> |
| 29 | <%= 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?" %> |
| @@ -32,7 +32,7 @@ | |||
| 32 | <%= "#{node.draft.user.login}" if node.draft && node.draft.user %> | 32 | <%= "#{node.draft.user.login}" if node.draft && node.draft.user %> |
| 33 | </td> | 33 | </td> |
| 34 | <td> | 34 | <td> |
| 35 | <%= node.head.revision if node.head %> | 35 | <%= node.pages.length %> |
| 36 | </td> | 36 | </td> |
| 37 | </tr> | 37 | </tr> |
| 38 | <% end %> | 38 | <% end %> |
