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
[#61619] fixed controler name
Eric Schubertb945d8860cf4
diff --git a/app/controllers/work_packages/types/subject_configuration_controller.rb b/app/controllers/work_packages/types/subject_configuration_tab_controller.rbsimilarity index 97%rename from app/controllers/work_packages/types/subject_configuration_controller.rbrename to app/controllers/work_packages/types/subject_configuration_tab_controller.rbindex 4c5d8a6d322..f39837b1c27 100644--- a/app/controllers/work_packages/types/subject_configuration_controller.rb+++ b/app/controllers/work_packages/types/subject_configuration_tab_controller.rb@@ -30,7 +30,7 @@module WorkPackagesmodule Types- class SubjectConfigurationController < ApplicationController+ class SubjectConfigurationTabController < ApplicationControllerlayout "admin"before_action :require_admindiff --git a/config/routes.rb b/config/routes.rbindex ad87e08fcf0..c42f124de9a 100644--- a/config/routes.rb+++ b/config/routes.rb@@ -136,7 +136,7 @@ Rails.application.routes.draw doget "edit/:tab" => "types#edit", as: "edit_tab"match "update/:tab" => "types#update", as: "update_tab", via: %i[post patch]put :subject_configuration,- controller: "work_packages/types/subject_configuration",+ controller: "work_packages/types/subject_configuration_tab",action: "update_subject_configuration"enddiff --git a/spec/controllers/work_packages/types/subject_configuration_controller_spec.rb b/spec/controllers/work_packages/types/subject_configuration_tab_controller_spec.rbsimilarity index 98%rename from spec/controllers/work_packages/types/subject_configuration_controller_spec.rbrename to spec/controllers/work_packages/types/subject_configuration_tab_controller_spec.rbindex d1fcb931f94..76c6aeb92b4 100644--- a/spec/controllers/work_packages/types/subject_configuration_controller_spec.rb+++ b/spec/controllers/work_packages/types/subject_configuration_tab_controller_spec.rb@@ -31,7 +31,7 @@require "spec_helper"-RSpec.describe WorkPackages::Types::SubjectConfigurationController do+RSpec.describe WorkPackages::Types::SubjectConfigurationTabController dolet(:user) { create(:admin) }let(:wp_type) { create(:type) }