I know this is a stupid question, but I can't seem to find the answer.
In my app/views/layouts, I had tasks.html.erb (and others) That worked great.
I added application.html.erb, but NOTHING is using it.
What I want is application.html.erb to yield to tasks.html.erb to
yield to individual pages.
Thanks in advance,
Alan
I know this is a stupid question, but I can't seem to find the answer.
In my app/views/layouts, I had tasks.html.erb (and others) That worked great.
I added application.html.erb, but NOTHING is using it.
What I want is application.html.erb to yield to tasks.html.erb to
yield to individual pages.
The application.html.erb layout is simply the default one used if none of your controllers specify another one to use instead. They don't nest like that (unless something changed in rails 2.x that I've completely missed).
However the following may help.
http://agilewebdevelopment.com/plugins/nested_layouts
-philip
That plugin looks like EXACTLY what I want!!! Thanks!!!
--Alan