This may not be the right way to do this, but I already made a “list”
action with a view corresponding to it.
Now, I’m trying to make the “search” action, and I want it to use the
view I made for list. What is the right way to do this?
Thanks
This may not be the right way to do this, but I already made a “list”
action with a view corresponding to it.
Now, I’m trying to make the “search” action, and I want it to use the
view I made for list. What is the right way to do this?
Thanks
Sean C. Hess wrote:
at the end of your search action, call…
render :action => ‘list’
–
http://www.5valleys.com/
http://www.workingwithrails.com/person/8078
Awesome, thanks
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs