diff options
| author | hukl <contact@smyck.org> | 2009-03-28 15:43:46 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-03-28 15:43:46 +0100 |
| commit | 4993909e278731463010ef45211cd22ef1b2794c (patch) | |
| tree | 3f7fcb1bf3765bd0e32303679fd9533e99cb5e8c /app/views/admin | |
| parent | 06ec666fa8fad0aafe7d8e505f6e92b729fccbce (diff) | |
renamed the user association on nodes to lock_owner as it is more specific for its purpose
Diffstat (limited to 'app/views/admin')
| -rw-r--r-- | app/views/admin/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb index c5bb5de..b40f92a 100644 --- a/app/views/admin/index.html.erb +++ b/app/views/admin/index.html.erb | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | <td><%= draft.id %></td> | 12 | <td><%= draft.id %></td> |
| 13 | <td><%= draft.title %></td> | 13 | <td><%= draft.title %></td> |
| 14 | <td><%= draft.node.unique_name %></td> | 14 | <td><%= draft.node.unique_name %></td> |
| 15 | <td><%= draft.user.login rescue "" %></td> | 15 | <td><%= draft.node.lock_owner.login rescue "" %></td> |
| 16 | <td><%= link_to 'Show', node_path(draft.node) %></td> | 16 | <td><%= link_to 'Show', node_path(draft.node) %></td> |
| 17 | <td><%= link_to "Diff revisions", :controller => :revisions, :action => :diff, :id => draft.node.id %></td> | 17 | <td><%= link_to "Diff revisions", :controller => :revisions, :action => :diff, :id => draft.node.id %></td> |
| 18 | <td><%= link_to "Publish", publish_node_path(draft.node), :method => :put, :confirm => "Do you really want to publish?" %></td> | 18 | <td><%= link_to "Publish", publish_node_path(draft.node), :method => :put, :confirm => "Do you really want to publish?" %></td> |
