Re: Re: Is there a way to call helper methods in a controlle


#1

Hi Bob,

Since I wanted it in a string, I’ve used it this way:
string = render_to_string :inline => “<%= link_to ‘some_url’,
:controller =>
‘home’, :action => ‘command’ %>”

Does the job.
Thanks!
Mac