From 0e215fab6ef01cfe4865ed10bbe083f800c9a73e Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 21 Mar 2009 17:39:11 +0100 Subject: put the lock onto nodes --- app/views/nodes/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/nodes/index.html.erb b/app/views/nodes/index.html.erb index 103617c..53ddb5b 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.draft.user.login}" if node.draft && node.draft.user %> + <%= node.user.login if node.user %> <%= node.draft ? node.draft.revision : node.head.revision %> -- cgit v1.3