Hello again,
It’s possible to use before_filter in the application_controller, and
exclude for some methods from other controllers ?
i have a before_filter in application_controller that checks if the user
is logged, if the time hasn’t expired, … and I want to exclude some
methods of this check, like the login. This ‘login’ belongs to other
controller.
I can put those before_filter in every control that will need it, but
all of my controls need it, so I prefer to put it in the
application_controller.
thanks,
raimon
ps. this doesn’t work
before_filter (:session_expiry => :except ) {|login_controller|}