In Ruby on Rails, I would like to add a before_filter to every controller except for one. Currently I have in ApplicationController
:
before_filter :authenticate
Is there a way to apply this rule inside ApplicationController
rather than adding before_filter :authenticate
in every controller except the public controller?