On Fri, 2009-08-14 at 19:34 +0200, Pete M. wrote:
So I should just set a empty view in one of my controllers, or should I
create a dummy controller just for this index page?
After thinking about your earlier post a bit more though I’d say you may
want to think this thing through a bit more.
A layout contains the base html for the site’s pages including the
section and components of the section that are common to
all the pages that will use that layout. Headers, footers, navigation,
etc. Each 'page' delivers its content into the <%= yield %> in the
If all the rest of the site’s pages will display everything that’s on
the index page, then either of the approaches you mention would work and
it’s just a judgment call. That would be a pretty unusual index page,
though. At least in my experience.