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
Clean up routes
Oliver Günther99010500eefa
diff --git a/modules/team_planner/config/routes.rb b/modules/team_planner/config/routes.rbindex 38056a185d3..45b91bc3547 100644--- a/modules/team_planner/config/routes.rb+++ b/modules/team_planner/config/routes.rb@@ -5,7 +5,6 @@ Rails.application.routes.draw docollection doget "/", to: "team_planner/team_planner#overview"get "/new", to: "team_planner/team_planner#new"- get "/upsell", to: "team_planner/team_planner#upsell", as: :upsellendend@@ -16,7 +15,6 @@ Rails.application.routes.draw doas: :team_planners docollection doget "menu" => "team_planner/menus#show"- get "/upsell", to: "team_planner/team_planner#upsell", as: :upsellget "/new", to: "team_planner/team_planner#show", as: :newenddiff --git a/modules/team_planner/spec/routing/team_planner_routing_spec.rb b/modules/team_planner/spec/routing/team_planner_routing_spec.rbindex ef5500f2413..c8efea61ed9 100644--- a/modules/team_planner/spec/routing/team_planner_routing_spec.rb+++ b/modules/team_planner/spec/routing/team_planner_routing_spec.rb@@ -48,12 +48,6 @@ RSpec.describe "Team planner routing" doendcontext "with :project_id" do- it "routes to team_planner#upsell" do- expect(subject)- .to route(:get, "/projects/foobar/team_planners/upsell")- .to(controller: "team_planner/team_planner", action: :upsell, project_id: "foobar")- end-it "routes to team_planner#show" doexpect(subject).to route(:get, "/projects/foobar/team_planners/new")@@ -62,12 +56,6 @@ RSpec.describe "Team planner routing" doendcontext "without :project_id" do- it "routes to team_planner#upsell" do- expect(subject)- .to route(:get, "/team_planners/upsell")- .to(controller: "team_planner/team_planner", action: :upsell)- end-it "routes to team_planner#new" doexpect(subject).to route(:get, "/team_planners/new")