Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/wikis/history.html.haml')
-rw-r--r--app/views/shared/wikis/history.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/wikis/history.html.haml b/app/views/shared/wikis/history.html.haml
index 079b9768730..afbed3b0f42 100644
--- a/app/views/shared/wikis/history.html.haml
+++ b/app/views/shared/wikis/history.html.haml
@@ -20,7 +20,7 @@
%th= _('Changes')
%th= _('Last updated')
%tbody
- - @page_versions.each do |commit|
+ - @commits.each do |commit|
%tr
%td
= link_to wiki_page_path(@wiki, @page, version_id: commit.id) do
@@ -33,6 +33,6 @@
= commit.message
%td
= time_ago_with_tooltip(commit.authored_date)
- = paginate @page_versions, theme: 'gitlab'
+ = paginate @commits, theme: 'gitlab'
= render 'shared/wikis/sidebar'