Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix missing path to eager load

Oliver Günther5b27903911dc
diff --git a/config/application.rb b/config/application.rb
index 7c2cf27f145..5e7ca283518 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -123,7 +123,7 @@ module OpenProject
# Add lookbook preview paths when enabled
if OpenProject::Configuration.lookbook_enabled?
config.paths.add Primer::ViewComponents::Engine.root.join('app/components').to_s, eager_load: true
- config.paths.add Rails.root.join("spec/components/previews").to_s, eager_load: true
+ config.paths.add Rails.root.join("lookbook/previews").to_s, eager_load: true
config.paths.add Primer::ViewComponents::Engine.root.join('previews').to_s, eager_load: true
end