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

Move the controller into general space

Klaus Zanders5a9963ffa5f0
diff --git a/app/controllers/work_packages/shares/bulk_controller.rb b/app/controllers/shares/bulk_controller.rb
similarity index 98%
rename from app/controllers/work_packages/shares/bulk_controller.rb
rename to app/controllers/shares/bulk_controller.rb
index 79db00e7285..0ec310ebbb4 100644
--- a/app/controllers/work_packages/shares/bulk_controller.rb
+++ b/app/controllers/shares/bulk_controller.rb
@@ -28,7 +28,7 @@
# See COPYRIGHT and LICENSE files for more details.
# ++
-class WorkPackages::Shares::BulkController < ApplicationController
+class Shares::BulkController < ApplicationController
include OpTurbo::ComponentStream
include MemberHelper
diff --git a/app/controllers/work_packages/shares_controller.rb b/app/controllers/shares_controller.rb
similarity index 99%
rename from app/controllers/work_packages/shares_controller.rb
rename to app/controllers/shares_controller.rb
index 930f2fc8dfc..0d67150d709 100644
--- a/app/controllers/work_packages/shares_controller.rb
+++ b/app/controllers/shares_controller.rb
@@ -26,7 +26,7 @@
# See COPYRIGHT and LICENSE files for more details.
# ++
-class WorkPackages::SharesController < ApplicationController
+class SharesController < ApplicationController
include OpTurbo::ComponentStream
include MemberHelper