diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-21 16:07:28 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-21 16:07:28 +0000 |
commit | c259ada6e1c46b0c7c21bd11bc1a0659da1ede9e (patch) | |
tree | 25fc76b565d0b95375b245d7bc8e5897afc881e2 /app/views/wiki/annotate.rhtml | |
parent | d3381fb518d79f815407ffc70d27cbda4208fc9e (diff) | |
download | redmine-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/annotate.rhtml')
-rw-r--r-- | app/views/wiki/annotate.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wiki/annotate.rhtml b/app/views/wiki/annotate.rhtml index 9d3b32827..1e664fb84 100644 --- a/app/views/wiki/annotate.rhtml +++ b/app/views/wiki/annotate.rhtml @@ -6,7 +6,7 @@ <h2><%= @page.pretty_title %></h2> <p> -<%= l(:label_version) %> <%= link_to @annotate.content.version, :action => 'index', :page => @page.title, :version => @annotate.content.version %> +<%= l(:label_version) %> <%= link_to @annotate.content.version, :action => 'show', :page => @page.title, :version => @annotate.content.version %> <em>(<%= @annotate.content.author ? @annotate.content.author.name : "anonyme" %>, <%= format_time(@annotate.content.updated_on) %>)</em> </p> @@ -18,7 +18,7 @@ <% @annotate.lines.each do |line| -%> <tr class="bloc-<%= colors[line[0]] %>"> <th class="line-num"><%= line_num %></th> - <td class="revision"><%= link_to line[0], :controller => 'wiki', :action => 'index', :project_id => @project, :page => @page.title, :version => line[0] %></td> + <td class="revision"><%= link_to line[0], :controller => 'wiki', :action => 'show', :project_id => @project, :page => @page.title, :version => line[0] %></td> <td class="author"><%= h(line[1]) %></td> <td class="line-code"><pre><%=h line[2] %></pre></td> </tr> |