Sha256: 70f860c758a4f003867f2d4b85d772cbe082e6590cbb24a8081da0ed4749d6ce

Contents?: true

Size: 196 Bytes

Versions: 14

Compression:

Stored size: 196 Bytes

Contents

# frozen_string_literal: true

module Params
  module CurrentHelper
    def current_params
      return params.to_unsafe_hash if params.respond_to? :to_unsafe_hash

      params
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
actionset-0.11.0 lib/action_set/helpers/params/current_helper.rb
actionset-0.10.0 lib/action_set/helpers/params/current_helper.rb
actionset-0.9.2 lib/action_set/helpers/params/current_helper.rb
actionset-0.9.1 lib/action_set/helpers/params/current_helper.rb
actionset-0.8.2 lib/action_set/helpers/params/current_helper.rb
actionset-0.8.1 lib/action_set/helpers/params/current_helper.rb
actionset-0.8.0 lib/action_set/helpers/params/current_helper.rb
actionset-0.7.0 lib/action_set/helpers/params/current_helper.rb
actionset-0.6.0 lib/action_set/helpers/params/current_helper.rb
actionset-0.5.4 lib/action_set/helpers/params/current_helper.rb
actionset-0.5.3 lib/action_set/helpers/params/current_helper.rb
actionset-0.5.2 lib/action_set/helpers/params/current_helper.rb
actionset-0.5.1 lib/action_set/helpers/params/current_helper.rb
actionset-0.5.0 lib/action_set/helpers/params/current_helper.rb