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

Add redirect route from previous enterprise

Oliver Günther22d215e3fc8d
diff --git a/config/routes.rb b/config/routes.rb
index 9310877d468..8436bda46a1 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -476,8 +476,11 @@ Rails.application.routes.draw do
scope "admin" do
resource :announcements, only: %i[edit update]
+
+ get "/enterprise", to: redirect("#{rails_relative_url_root}/admin/enterprise_tokens")
+
constraints(Constraints::Enterprise) do
- resources :enterprise_tokens, only: %i[index show new create destroy] do
+ resources :enterprise_tokens, only: %i[index new create destroy] do
member do
get :destroy_dialog
end