Template question


#1

Hi,

I have 4 controllers, a, b c, and d. In the controllers i created a
method with the name “homepage”.

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


#2

Remco S. 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