modularized controller can't find application_helper met

Aryk Grosz wrote:

home/my_inbox to try to modularize everything. However, I cant call any

It looks like you are trying to call it directly from the controller,
you should be calling the method from the view template instead. Methods
defined in application_helper.rb are available to all view templates,
not directly from the controller.

(You can do it, but you need to define a couple of other things inside
the Application Controller, and it's not very clean)

I'd personally put the required methods into a separate class/module in
the lib directory and then require them from the controllers you need to
use.

Mac