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

Name route so it doesnt clash with index

Oliver Günthere56a2ca9ca7c
diff --git a/config/routes.rb b/config/routes.rb
index 87512fff146..f69287e8f47 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -493,7 +493,7 @@ OpenProject::Application.routes.draw do
get '/new' => 'work_packages#index', on: :collection, as: 'new', state: 'new'
# We do not want to match the work package export routes
get '(/*state)' => 'work_packages#show', on: :member, as: '', constraints: { id: /\d+/ }
- get '/share_upsale' => 'work_packages#index', on: :collection, as: ''
+ get '/share_upsale' => 'work_packages#index', on: :collection, as: 'share_upsale'
get '/edit' => 'work_packages#show', on: :member, as: 'edit'
end