Skip to content
Snippets Groups Projects

5 0 stable

Closed gitlab-qa-bot requested to merge 5-0-stable into master
2 files
+ 3
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -55,7 +55,7 @@ class WikiToGollumMigrator
@@ -55,7 +55,7 @@ class WikiToGollumMigrator
def create_page_and_revisions(project, page)
def create_page_and_revisions(project, page)
# Grab all revisions of the page
# Grab all revisions of the page
revisions = project.wikis.where(slug: page.slug).ordered.all
revisions = project.wikis.where(slug: page.slug).order('id desc').all
# Remove the first revision created from the array
# Remove the first revision created from the array
# and use it to create the Gollum page. Each successive revision
# and use it to create the Gollum page. Each successive revision
Loading