Skip to content

Commit

Permalink
Fixes #16397 - set nested objects to optional
Browse files Browse the repository at this point in the history
for template_combinations
  • Loading branch information
ShimShtein committed Aug 31, 2016
1 parent d301d11 commit 02bb675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v2/template_combinations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02bb675

Please sign in to comment.