Forum: Ruby on Rails [Q] How run Custom code on each request/action

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F16def8015a7562a285c65a14be48540?d=identicon&s=25 Mathieu Chappuis (Guest)
on 2006-04-10 16:15
(Received via mailing list)

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 ?


5ce55767684e0cd1727db2b8b8975640?d=identicon&s=25 Steve Longdo (Guest)
on 2006-04-10 16:21
(Received via mailing list)
application.rb, before_filter
This topic is locked and can not be replied to.