Skip to content
Snippets Groups Projects

Avoid loading Wiki Pages content when listed

All threads resolved!
Compare and Show latest version
6 files
+ 30
27
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -56,7 +56,7 @@ def pipeline_events_data
end
def wiki_page_events_data
page = project.wiki.pages.first
page = project.wiki.list_pages(limit: 1).first
if !project.wiki_enabled? || page.blank?
throw(:validation_error, 'Ensure the wiki is enabled and has pages.')
end
Loading