From b604e415e2b54b48e63ac87ece01e8f914bb7045 Mon Sep 17 00:00:00 2001 From: hukl Date: Fri, 1 May 2009 17:20:02 +0200 Subject: fixed link --- app/views/admin/_drafts.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/_drafts.html.erb b/app/views/admin/_drafts.html.erb index abda588..58b946b 100644 --- a/app/views/admin/_drafts.html.erb +++ b/app/views/admin/_drafts.html.erb @@ -16,7 +16,7 @@ <%= draft.user.login rescue "" %> <%= link_to 'Show', node_path(draft.node) %> - <%= link_to "Revisions", :controller => :revisions, :action => :diff, :id => draft.node.id %> + <%= link_to "Revisions", revision_path(draft.node.id) %> <%= link_to "Publish", publish_node_path(draft.node), :method => :put, :confirm => "Do you really want to publish?" %> -- cgit v1.3