From b7f67dc8527c6b404fa9682f07c7a1068bb83c7f Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 15 Mar 2009 19:45:46 +0100 Subject: interface interlinks --- app/views/nodes/edit.html.erb | 2 ++ app/views/revisions/index.html.erb | 1 - app/views/revisions/show.html.erb | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index 2dade0f..577a075 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb @@ -2,6 +2,8 @@ <%= link_to 'Show', @node %> <%= link_to 'Back', nodes_path %> <%= link_to 'Publish', publish_node_path, :method => :put %> + <%= link_to 'Diff revisions', :controller => :revisions, :action => :diff, :id => params[:id] %> +

Editing page

diff --git a/app/views/revisions/index.html.erb b/app/views/revisions/index.html.erb index b41a77c..e3134d7 100644 --- a/app/views/revisions/index.html.erb +++ b/app/views/revisions/index.html.erb @@ -1,2 +1 @@

Revisions#index

-

Find me in app/views/revisions/index.html.erb

diff --git a/app/views/revisions/show.html.erb b/app/views/revisions/show.html.erb index c63e7e8..64979fc 100644 --- a/app/views/revisions/show.html.erb +++ b/app/views/revisions/show.html.erb @@ -1,5 +1,6 @@

Revisions for Node: <%= @node.unique_name %>

-- cgit v1.3