Displaying 1 result from an estimated 1 matches for "kick_if_inact".
2008 Jan 11
0
trouble skipping before filter in controller
Hello,
In my application I want several before filters to apply to every
request except for login and authenticate. So in my application
controller I have
before_filter :setup_user, :check_for_duplicate_user, :update_timestamp, :kick_if_inactive
then in my user controller which contains the login and authenticate
actions i have
skip_before_filter :setup_user, :only => [:login, :authenticate]
skip_before_filter :check_for_duplicate_user, :only =>
[:login, :authenticate]
skip_before_filter :update_timestamp, :only => [:login, :...