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

Remove unused before_action

Dombi Attilab945f0f2977a
diff --git a/modules/costs/app/controllers/costlog_controller.rb b/modules/costs/app/controllers/costlog_controller.rb
index 5e4e3abbb7f..ff169e95efe 100644
--- a/modules/costs/app/controllers/costlog_controller.rb
+++ b/modules/costs/app/controllers/costlog_controller.rb
@@ -30,7 +30,6 @@ class CostlogController < ApplicationController
menu_item :work_packages
before_action :find_project, :authorize, only: %i[edit new create update destroy]
before_action :find_associated_objects, only: %i[create update]
- before_action :find_optional_project, only: %i[report]
helper :work_packages
include CostlogHelper