Accessing View methods from Model?

Hey. I have Menu model which recursively renders a menu. Now I want to
use link_to and link_to_unless_current methods from View helpers inside
my Model. Any ideas how I coulkd do that?

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