* Javier_CH <[email protected]> [2009-01-16 09:08:57 -0800]: > > Is there a way to render actions from different controllers? Now > you're probably thinking "why isn't he using redirect_to?". Well, > because I need to display validation-errors on that view and those > informations would be lost if I use redirect_to. > > Sounds a bit complicated? Tthe following pastie illustrates the > problem (check line 30): > > http://pastie.textmate.org/362540
I think you can do
render :template => 'articles/show'
Jan
>
> Does anyone have a "restful" solution to this problem?
>
> Saludos
> Javier
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en
> -~----------~----~----~----~------~----~------~--~---
--
jan=callcc{|jan|jan};jan.call(jan)
pgpslfJPTv9SJ.pgp
Description: PGP signature

