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.rb index a59204eeb0..87207db650 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 ::IFCModels def show_defaults if @ifc_models.empty? - redirect_to "index" + redirect_to action: :index end @default_ifc_models = @project.ifc_models.defaults + provision_gon(@default_ifc_models) end def create