Forum: Ruby on Rails How to protect all controllers under a module

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
248275bf4b4d504adda7fa6dd80add20?d=identicon&s=25 virtus (Guest)
on 2006-12-31 00:34
(Received via mailing list)
HI everyone, I'm new to rails, and I have a little question.

I got tree modules, Admin, xml and flash.

I added a before_filter in my application.rb too check if the user is
authenticate. That work great. But when I did that, I had just one
module, the admin one!

Now I would like to apply this filter only on the admin section of my
site( So on the module admin)

How can I do that?

Thanks for any help

Sorry for the bad english!
This topic is locked and can not be replied to.