I’m wondering if there is a way to whitelist controller authentication using before_filter, also excluding the ones that you may want. Something like that in application controller :
before_filter :authenticate_user!, :except_controller => :home
Is there a way to do that without having to put a before_filter on every controller, which is kinda messy ?
Add this to your Home Controller, to skip authentication on all actions on your home controller.