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

Merge pull request #18684 from opf/feature/38030-add-parent-item-to-relations

Oliver Günther98afc3295256
diff --cc config/routes.rb
index 04361df4868,0d9b310e3cb..bbaa9b6ed0e
--- a/config/routes.rb
+++ b/config/routes.rb
@@@ -665,12 -662,12 +665,12 @@@ Rails.application.routes.draw d
end
end
- resources :children_relations, only: %i[new create destroy], controller: "work_package_children_relations"
+ resources :hierarchy_relations, only: %i[new create destroy], controller: "work_package_hierarchy_relations"
- resource :progress, only: %i[new edit update], controller: "work_packages/progress"
+ resource :progress, only: %i[edit update], controller: "work_packages/progress"
collection do
resource :progress,
- only: :create,
+ only: %i[create new],
controller: "work_packages/progress",
as: :work_package_progress
end