Can one controller use another's Helper Methods?

If I have controller1 and controller2, how would controller1 call method
Arf in controller2’s helpers?

Thanks,
Ben L.

You can either:

a) Put the method into application_helper.rb

b) Add “helper :controller2” to controller1

Cheers,

Pete Y.
http://9cays.com/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs