Module: Params::CurrentHelper

Included in:
Export::PathForHelper, Pagination::PathForHelper, Sort::CurrentDirectionForHelper, Sort::PathForHelper
Defined in:
lib/action_set/helpers/params/current_helper.rb

Instance Method Summary collapse

Instance Method Details

#current_paramsObject



5
6
7
8
9
# File 'lib/action_set/helpers/params/current_helper.rb', line 5

def current_params
  return params.to_unsafe_hash if params.respond_to? :to_unsafe_hash

  params
end