From fed2a4c96e89986275faea6bf8cf20453cdfe5b5 Mon Sep 17 00:00:00 2001 From: hukl Date: Fri, 1 May 2009 17:40:20 +0200 Subject: added show link to revisions view --- app/views/revisions/show.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/revisions/show.html.erb b/app/views/revisions/show.html.erb index 63a75ec..2a4a9a1 100644 --- a/app/views/revisions/show.html.erb +++ b/app/views/revisions/show.html.erb @@ -13,6 +13,7 @@ Title User Date + <% @node.pages.reverse.each do |page| %> @@ -22,10 +23,11 @@ <%= page.title %> <%= page.user.try(:login) %> <%= page.updated_at %> + <%= link_to 'show', node_path(page.node) %> <% end %> - <%= submit_tag 'Diff revisions' %> + <%= submit_tag 'Diff revisions' %> -- cgit v1.3