Skip to content

Commit

Permalink
Refs #22285 - Allow params in templete combination controller
Browse files Browse the repository at this point in the history
Allows `config_template_id` and `:provisioning_template_id`
  • Loading branch information
tbrisker committed Jan 22, 2018
1 parent 9cd7695 commit 0831607
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -4,7 +4,8 @@ module Foreman::Controller::Parameters::TemplateCombination
class_methods do
def template_combination_params_filter
Foreman::ParameterFilter.new(::TemplateCombination).tap do |filter|
filter.permit_by_context :environment_id, :environment_name, :environment,
filter.permit_by_context :config_template_id, :provisioning_template_id,
:environment_id, :environment_name, :environment,
:hostgroup_id, :hostgroup_name, :hostgroup,
:nested => true

Expand Down

0 comments on commit 0831607

Please sign in to comment.