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
obey rubocop
as-op677956ebc291
diff --git a/modules/reporting/app/controllers/cost_reports_controller.rb b/modules/reporting/app/controllers/cost_reports_controller.rbindex c39cf15932e..e6bdd7e5380 100644--- a/modules/reporting/app/controllers/cost_reports_controller.rb+++ b/modules/reporting/app/controllers/cost_reports_controller.rb@@ -77,15 +77,17 @@ class CostReportsController < ApplicationControllerdef indextable- unless performed?- respond_to do |format|- format.html do- session[report_engine.name.underscore.to_sym].try(:delete, :name)- render locals: { menu_name: project_or_global_menu }- end- format.xls { export(:xls) }- format.pdf { export(:pdf) }+ perform unless performed?+ end++ def perform+ respond_to do |format|+ format.html do+ session[report_engine.name.underscore.to_sym].try(:delete, :name)+ render locals: { menu_name: project_or_global_menu }end+ format.xls { export(:xls) }+ format.pdf { export(:pdf) }endend