Re: Template question...

Shandy Nantz
Mon, 10 Nov 2008 15:12:19 -0000

Remco Swoany wrote:
> What is the best solution (partials, content_for ect. ) the create the
> homepage-template with the content of the described controllers with the
> method "homepage"
>
> Grt..remco

Not sure I entirely understand the question, you can alwas create a
template and then say which template you will be using in the
controllers method

render :layout => ''homepage-template''

Not sure if this helps at all,

-S
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---