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

recreate names for routes

ulferts00f4d890bb91
diff --git a/modules/ifc_models/config/routes.rb b/modules/ifc_models/config/routes.rb
index 5ed9d3a6d92..472bf9b112b 100644
--- a/modules/ifc_models/config/routes.rb
+++ b/modules/ifc_models/config/routes.rb
@@ -33,8 +33,8 @@ OpenProject::Application.routes.draw do
scope 'projects/:project_id', as: 'project' do
resources :ifc_models, except: [:show], controller: 'ifc_models/ifc_models' do
collection do
- get 'defaults(/*state)', action: :defaults
- get 'list(/*state)', action: :defaults
+ get 'defaults(/*state)', action: :defaults, as: :defaults
+ get 'list(/*state)', action: :defaults, as: :list
end
member do