When I set up my controllers, I put some of them in a sub-directory
under app/controllers. That works fine. My problem is that the
helpers are also placed in a sub-directory of the same name. I can't
seem to figure out how to access the helper belonging to one of the
controllers in the sub-directory. For example, the directory
hierarchy looks like this.
./app/controllers
./app/controllers/foo
./app/controllers/foo/my_controller.rb
./app/helpers
./app/helpers/foo
./app/helpers/foo/my_controller_helper.rb
How can I set up an include (I assume) so the controller can find its
helper? Or do I have to move the helper methods into a shared higher-
level helper?
Thanks.