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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Correctly display upsale page
Klaus Zanders1c55909c41c5
diff --git a/modules/team_planner/app/controllers/team_planner/team_planner_controller.rb b/modules/team_planner/app/controllers/team_planner/team_planner_controller.rbindex b9cf37bff49..68046edf67c 100644--- a/modules/team_planner/app/controllers/team_planner/team_planner_controller.rb+++ b/modules/team_planner/app/controllers/team_planner/team_planner_controller.rb@@ -2,7 +2,7 @@ module ::TeamPlannerclass TeamPlannerController < BaseControllerinclude EnterpriseTrialHelperbefore_action :find_optional_project- before_action :authorize, except: %i[overview]+ before_action :authorize, except: %i[overview upsale]before_action :authorize_global, only: %i[overview]before_action :require_ee_token, except: %i[upsale]before_action :find_plan_view, only: %i[destroy]diff --git a/modules/team_planner/config/routes.rb b/modules/team_planner/config/routes.rbindex 8bc6ff0d852..895a85e0eca 100644--- a/modules/team_planner/config/routes.rb+++ b/modules/team_planner/config/routes.rb@@ -1,5 +1,6 @@OpenProject::Application.routes.draw doget :team_planners, to: 'team_planner/team_planner#overview'+ get 'team_planners/upsale', to: 'team_planner/team_planner#upsale', as: :upsale_team_plannersscope 'projects/:project_id', as: 'project' doresources :team_planners,