diff options
Diffstat (limited to 'app/views/wiki/show.html.erb')
-rw-r--r-- | app/views/wiki/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/show.html.erb b/app/views/wiki/show.html.erb index 6a0245809..be0d7355a 100644 --- a/app/views/wiki/show.html.erb +++ b/app/views/wiki/show.html.erb @@ -85,7 +85,7 @@ <p class="wiki-update-info"> <% if User.current.allowed_to?(:view_wiki_edits, @project) %> <%= wiki_content_update_info(@content) %> - · <%= link_to l(:label_x_revisions, :count => @content.version), {:action => 'history', :id => @page.title} %> + · <%= link_to l(:label_x_revisions, :count => @page.content.versions.size), {:action => 'history', :id => @page.title} %> <% end %> <% if @page.protected? %> <span class="badge badge-status-locked"><%= l('status_locked') %></span> |