From 06dee9ab33701e40a5adfcf87767fb807621fa32 Mon Sep 17 00:00:00 2001 From: hukl Date: Mon, 13 Apr 2009 20:37:16 +0200 Subject: beautified the revision and diff interface. so pretty and so functional. i'm happy --- app/views/nodes/edit.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/nodes') diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index 6a243a7..d8fb8b4 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb @@ -2,7 +2,7 @@ <%= link_to 'metadata', '#', :id => 'button', :class => "unselected" %> <%= link_to 'Preview', @node %> <%= link_to 'Publish', publish_node_path, :method => :put, :confirm => "Publish this draft?" %> - <%= link_to 'Revisions', :controller => :revisions, :action => :diff, :id => params[:id] %> + <%= link_to 'Revisions', revision_path(params[:id]) %> <% end %>
@@ -30,7 +30,7 @@ - +
-- cgit v1.3
Title <%= d.text_field :title %>