summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/diff.rhtml
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-21 16:07:28 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-21 16:07:28 +0000
commitc259ada6e1c46b0c7c21bd11bc1a0659da1ede9e (patch)
tree25fc76b565d0b95375b245d7bc8e5897afc881e2 /app/views/wiki/diff.rhtml
parentd3381fb518d79f815407ffc70d27cbda4208fc9e (diff)
downloadredmine-c259ada6e1c46b0c7c21bd11bc1a0659da1ede9e.tar.gz
redmine-c259ada6e1c46b0c7c21bd11bc1a0659da1ede9e.zip
Refactor: rename WikiController#index to #show, it's a single resource action
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4266 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki/diff.rhtml')
-rw-r--r--app/views/wiki/diff.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wiki/diff.rhtml b/app/views/wiki/diff.rhtml
index 9095be560..a9eebdb9a 100644
--- a/app/views/wiki/diff.rhtml
+++ b/app/views/wiki/diff.rhtml
@@ -5,10 +5,10 @@
<h2><%= @page.pretty_title %></h2>
<p>
-<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'index', :page => @page.title, :version => @diff.content_from.version %>
+<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :page => @page.title, :version => @diff.content_from.version %>
<em>(<%= @diff.content_from.author ? @diff.content_from.author.name : "anonyme" %>, <%= format_time(@diff.content_from.updated_on) %>)</em>
&#8594;
-<%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'index', :page => @page.title, :version => @diff.content_to.version %>/<%= @page.content.version %>
+<%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show', :page => @page.title, :version => @diff.content_to.version %>/<%= @page.content.version %>
<em>(<%= @diff.content_to.author ? @diff.content_to.author.name : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)</em>
</p>