Forgive me if this is a dumb question but how does one override the layout at the controller level when using a theme? I want to create a different layout for the article detail (the read action). I've tried using the following without any luck: render :layout => "read" render :layout => "layouts/read" Thanks in advance. Kyle Heon kheon@comcast.net www.kyleheon.com
Theme overrides
on 16.03.2006 01:47
Re: Theme overrides
on 16.03.2006 04:09
It's called a view, not a layout. Try looking along those lines.
Re: Theme overrides
on 16.03.2006 04:44
I am already overriding the "read" view as it is. What I need to do now is also override the over arching layout. I have a layout named default that is used for everything currently, but now I want to create a different layout for the article detail. Kyle Heon kheon@comcast.net www.kyleheon.com
Re: Theme overrides
on 16.03.2006 05:02
Oh. That would be done at the controller level. I don't think there's any way to affect this with the current themeing system.
