Displaying 1 result from an estimated 1 matches for "confirm_valid_login".
2006 May 11
1
skipping filters
...res_login is called in any controller as a before_filter. All is
good, except I''m having trouble figuring out how to make the public
login actions skip this before filter. Here''s what I have:
application.rb
skip_before_filter :requires_login, :only => [:login, :logout,
:confirm_valid_login]
my_controller.rb
before_filter :requires_login, :except => [:list, :show]
I can''t successfully pass authentication and what I believe is happening
is that all the right things are happening up till the point of
my_controller.rb, where the :except tells Rails to add all the act...