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
fix calling menu item condtion without project argument in admin controller
Ivan Kuchin9a547a42a4b5
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rbindex 8a554ac032f..790cdd4504a 100644--- a/app/controllers/admin_controller.rb+++ b/app/controllers/admin_controller.rb@@ -43,7 +43,7 @@ class AdminController < ApplicationControllercondition = node.conditionname === :admin_overview ||- (condition && !condition.call) ||+ (condition && !condition.call(nil)) ||hidden_admin_menu_items.include?(name.to_s)end