app/controllers/concerns/foreman/controller/parameters/policy.rb in foreman_openscap-0.7.1 vs app/controllers/concerns/foreman/controller/parameters/policy.rb in foreman_openscap-0.7.2

- old
+ new

@@ -3,10 +3,10 @@ include Foreman::Controller::Parameters::PolicyApi class_methods do def policy_params_filter Foreman::ParameterFilter.new(::ForemanOpenscap::Policy).tap do |filter| - filter.permit([:current_step, :wizard_initiated] + filter_params_list) + filter.permit(%i(current_step wizard_initiated) + filter_params_list) end end end end