From 02bb675e1214d9afa2e714707ab218da02751e37 Mon Sep 17 00:00:00 2001 From: Shimon Shtein Date: Wed, 31 Aug 2016 19:19:03 +0300 Subject: [PATCH] Fixes #16397 - set nested objects to optional for template_combinations --- app/controllers/api/v2/template_combinations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v2/template_combinations_controller.rb b/app/controllers/api/v2/template_combinations_controller.rb index 001eb555428e..6a1fb80c89e5 100644 --- a/app/controllers/api/v2/template_combinations_controller.rb +++ b/app/controllers/api/v2/template_combinations_controller.rb @@ -4,7 +4,7 @@ class TemplateCombinationsController < V2::BaseController include Foreman::Controller::Parameters::TemplateCombination before_action :rename_config_template - before_action :find_required_nested_object + before_action :find_optional_nested_object before_action :find_resource, :only => [:show, :update, :destroy] def_param_group :template_combination_identifiers do