From 2d06e3bd5b484ef06f871b589bfabf6307bca1db Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 15 Mar 2009 20:08:31 +0100 Subject: More linkage for revisions --- app/views/admin/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/admin') diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb index 00a5c09..c5bb5de 100644 --- a/app/views/admin/index.html.erb +++ b/app/views/admin/index.html.erb @@ -14,6 +14,8 @@ <%= draft.node.unique_name %> <%= draft.user.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?" %> <% end %> -- cgit v1.3