You should be able to just do render "template_name" inside the view.
-- Yehuda

On Mon, Sep 7, 2009 at 8:16 AM, George Adamson <
[email protected]> wrote:

>
> Hi there,
>
> I have two classes: client and trip.
> We have "show.html.erb" that displays ok.
>
> How can I include that content (for a specific trip id) inside the
> client index page?
>
> I could do it using a partial that is used in the Trip view and Client
> view but I rather hoped I could just render the Trip view from inside
> the Client view.
>
> Any ideas?
> Many thanks,
> George
> >
>


-- 
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to