From 4993909e278731463010ef45211cd22ef1b2794c Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 28 Mar 2009 15:43:46 +0100 Subject: renamed the user association on nodes to lock_owner as it is more specific for its purpose --- app/views/admin/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/admin') 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 @@ <%= draft.id %> <%= draft.title %> <%= draft.node.unique_name %> - <%= draft.user.login rescue "" %> + <%= draft.node.lock_owner.login rescue "" %> <%= link_to 'Show', node_path(draft.node) %> <%= link_to "Diff revisions", :controller => :revisions, :action => :diff, :id => draft.node.id %> <%= link_to "Publish", publish_node_path(draft.node), :method => :put, :confirm => "Do you really want to publish?" %> -- cgit v1.3