RE: How to test for controller


#1

Yeah, and if it’s nav, you might even put it in the application
controller directly (as a before_filter) and do the logic from within
the LAYOUT files instead of the action .rhtml views.