Re: Pre-processing for every page

Michael Glaesemann
Sat, 13 Oct 2007 04:53:24 -0000

On Oct 12, 2007, at 23:41 , Greg Willits wrote:

> In Rails, I''m still fguring out the flow of execution, and I
can''t
> see where that code would go. The controller before_filter is nifty,
> but what I am talking about would require redundant before_filters
> for virtually every controller.

Per the comment before ApplicationController (app/controllers/
application.rb):

# Filters added to this controller apply to all controllers in the
application.
# Likewise, all the methods added will be available for all controllers.

Michael Glaesemann
grzm seespotcode net