For things like this I just usually use a "main" controller, then
create the .rhtml files for each page. Then for performance you can
just cache the page.
As far as I know that''s the easiest way, then you only have to keep
track of one layout file. Plus a lot of the time you''ll want some
dynamic content in the layout anyway.
Pat
On 2/26/06, David Corbin <dcorbin@machturtle.com>
wrote:> Is there any "standard" way if I wish to use a layout with an
otherwise static
> page? Do I have to create a controller "and everything" for this
to work?
>
> Thanks
> David
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>