[Q] How run Custom code on each request/action


#1

Dears,

For obscure reasons I’ll like to reset a session key when
request/action is outside a specific controller.

Is there a common place in the app where I can put such code, instead
of adding statements in each controllers ?

DRY

Thanks,
Mathieu


#2

application.rb, before_filter