lib/generators/dry_crud/templates/app/controllers/list_controller.rb
def store_current_params(remembered)
      remember_params.each do |p|
        remembered[p] = params[p].presence
        remembered.delete(p) if remembered[p].nil?
      end
    end
# Adds the :remember_params class attribute and a before filter to the index action.
Adds the :remember_params class attribute and a before filter to the index action.
Adds the : remember_params class attribute and a before filter to the index action .
def store_current_params(remembered)
      remember_params.each do |p|
        remembered[p] = params[p].presence
        remembered.delete(p) if remembered[p].nil?
      end
    end
def store_current_params ( remembered ) remember_params . each do | p | remembered [ p ] = params [ p ] . presence remembered . delete ( p ) if remembered [ p ] . nil? end end
Adds the :remember_params class attribute and a before filter to the index action.
Adds the : remember_params class attribute and a before filter to the index action .
remembered