class User::Signin::BaseController < User::BaseController
before_filter :before_filter_setup_user
def before_filter_setup_user
puts "hi"
end
def index
end
end
class User::Signin::BasicController < User::Signin::BaseController
def index
end
end
The filter gets called twice, "hi" prints twice, what is the best way
to prevent this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---