Module: DryCrud::Rememberable

Extended by:
Included in:
Defined in:


Remembers certain params of the index action in order to return to the same list after an entry was viewed or edited. If the index is called with a param :returning, the remembered params will be re-used to present the user the same list as she left it.

Define a list of param keys that should be remembered for the list action with the class attribute remember_params.

The params are stored separately for each different remember_key, which defaults to the current request’s path.