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

chore[Op#50748]: Qualify `::Tasks` namespace

Kabiru Mwenja1b52dec4e73e
diff --git a/modules/backlogs/app/controllers/rb_tasks_controller.rb b/modules/backlogs/app/controllers/rb_tasks_controller.rb
index a42357c00b5..5b1c0eec97d 100644
--- a/modules/backlogs/app/controllers/rb_tasks_controller.rb
+++ b/modules/backlogs/app/controllers/rb_tasks_controller.rb
@@ -34,7 +34,7 @@ class RbTasksController < RbApplicationController
"estimated_hours", "status_id", "sprint_id"]
def create
- call = Tasks::CreateService
+ call = ::Tasks::CreateService
.new(user: current_user)
.call(attributes: task_params.merge(project: @project), prev: params[:prev])
@@ -44,7 +44,7 @@ class RbTasksController < RbApplicationController
def update
task = Task.find(task_params[:id])
- call = Tasks::UpdateService
+ call = ::Tasks::UpdateService
.new(user: current_user, task:)
.call(attributes: task_params, prev: params[:prev])