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? -- Posted via http://www.ruby-forum.com/.
Benoit Gagnon
2006-Jan-24 22:22 UTC
[Rails] Re: A way to use link_to_remote in appcontroller?
On 2006-01-24 16:20:38 -0500, Dave <octopie@gmail.com> 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 ?> However, I would like to use link_to_remote in whats going to be > displayed. Any suggestions on how to do this?
Benoit Gagnon 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! -- Posted via http://www.ruby-forum.com/.
Maybe Matching Threads
- Can''t find where to put non-index methods for appController
- Unitialized constant
- Make link_to_remote call redirect current view, not read redirected content
- Heroku, needs constant AppController updates?
- What''s the correct way to use ":with" with link_to_remote?