Sha256: 4df1c5371c8024937cf9a0f1e9c95187afa6b5d1bd1352a671ad7d9e47eedb9f

Contents?: true

Size: 328 Bytes

Versions: 157

Compression:

Stored size: 328 Bytes

Contents

module Foreman::Controller::Parameters::Targeting
  extend ActiveSupport::Concern

  class_methods do
    def targeting_params_filter
      Foreman::ParameterFilter.new(::Targeting).tap do |filter|
        filter.permit_by_context :targeting_type, :bookmark_id, :user, :search_query, :nested => true
      end
    end
  end
end

Version data entries

157 entries across 157 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.4 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-14.1.3 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-14.1.2 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-14.1.1 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-14.1.0 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-14.0.2 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-14.0.1 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-13.2.6 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-14.0.0 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-13.2.5 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-13.2.4 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-13.2.3 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-13.2.2 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-12.0.7 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-13.2.1 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-13.2.0 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-10.1.3 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-13.0.0 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-12.0.5 app/controllers/concerns/foreman/controller/parameters/targeting.rb
foreman_remote_execution-12.0.4 app/controllers/concerns/foreman/controller/parameters/targeting.rb