A way to use link_to_remote in appcontroller?

Hi, in my ApplicationController, I am creating a bunch of text which is
going to be displayed in my view. However, I would like to use
link_to_remote in whats going to be displayed. Any suggestions on how to
do this?

On 2006-01-24 16:20:38 -0500, Dave
[email protected] said:

Hi, in my ApplicationController, I am creating a bunch of text which is
going to be displayed in my view.

If you’re generating a bunch of text for the view, you should be using
a Helper instead. I’m curious… why do you absolutely need this
content to be generated inside the controller ?

Benoit G. wrote:

If you’re generating a bunch of text for the view, you should be using
a Helper instead. I’m curious… why do you absolutely need this
content to be generated inside the controller ?

Oh, now I see. There was no reason for me to be using the controller; my
mistake.

Thanks!

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