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

Use correct class in Association for WikiContent

Klaus Zanders4370c4f75277
diff --git a/lib/tasks/attachment_migrations.rake b/lib/tasks/attachment_migrations.rake
index 4e46f8309f0..e136ec93ee3 100644
--- a/lib/tasks/attachment_migrations.rake
+++ b/lib/tasks/attachment_migrations.rake
@@ -41,7 +41,7 @@ module Migrations
class CurrentWikiPage < ::ActiveRecord::Base
self.table_name = "wiki_pages"
- has_one :content, class_name: 'WikiContent', foreign_key: 'page_id', dependent: :destroy
+ has_one :content, class_name: 'CurrentWikiContent', foreign_key: 'page_id', dependent: :destroy
end
class CurrentWikiContent < ::ActiveRecord::Base