Sha256: 2626271196b53942f9f3cf95e7f1864b43fc840bbef5234d60eae2fe14484b9c

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

Dry::System.register_component(:safe_params, provider: :rails) do
  init do
    require "dry/rails/features/safe_params"
  end

  start do
    ApplicationController.include(Dry::Rails::Features::SafeParams)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dry-rails-0.2.0 lib/dry/rails/boot/safe_params.rb
dry-rails-0.1.0 lib/dry/rails/boot/safe_params.rb