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 redirect for show_defaults when not IFC model present
Wieland Lindenthal12e6f920b454
diff --git a/modules/ifc_models/app/controllers/ifc_models/ifc_models_controller.rb b/modules/ifc_models/app/controllers/ifc_models/ifc_models_controller.rbindex a59204eeb0e..87207db6501 100644--- a/modules/ifc_models/app/controllers/ifc_models/ifc_models_controller.rb+++ b/modules/ifc_models/app/controllers/ifc_models/ifc_models_controller.rb@@ -61,10 +61,11 @@ module ::IFCModelsdef show_defaultsif @ifc_models.empty?- redirect_to "index"+ redirect_to action: :indexend@default_ifc_models = @project.ifc_models.defaults+ provision_gon(@default_ifc_models)enddef create