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/nodes/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/nodes') diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index 53ddb5b..be63de3 100644 --- a/app/views/nodes/index.html.erb +++ b/app/views/nodes/index.html.erb @@ -28,7 +28,7 @@ <%= link_to 'Unlock', unlock_node_path(node), :method => :put, :confirm => "Are you sure you want to unlock?" %> - <%= node.user.login if node.user %> + <%= node.lock_owner.login if node.lock_owner %> <%= node.draft ? node.draft.revision : node.head.revision %> -- cgit v1.3