Sha256: 3a402e3b5f8b554d3a80b04370d0dc7724e83c9ecbe3d3c2370e3910c22f6756

Contents?: true

Size: 359 Bytes

Versions: 69

Compression:

Stored size: 359 Bytes

Contents

# require "eitil_core/application_controller/slice_params"

# require "eitil_core/railtie" to run the dynamic dispatch as an init hook during boot
require "eitil_core/railtie"

module EitilCore
  module ApplicationController
    module SliceParams

      def slice_params(*args)
        params.slice(*args).as_json.symbolize_keys
      end

    end
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
eitil-2.0.8 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-2.0.7 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-2.0.6 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-2.0.5 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-2.0.4 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-2.0.3 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-2.0.2 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-2.0.1 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-2.0.0 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.4.1 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.4.0 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.3.12 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.3.11 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.3.10 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.3.9 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.3.8 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.3.7 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.3.6 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.3.5 eitil_core/lib/eitil_core/application_controller/slice_params.rb
eitil-1.3.4 eitil_core/lib/eitil_core/application_controller/slice_params.rb