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 H. email@example.com www.kyleheon.com
on 2006-03-16 02:47
on 2006-03-16 05:09
It's called a view, not a layout. Try looking along those lines.
on 2006-03-16 05: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 H. firstname.lastname@example.org www.kyleheon.com
on 2006-03-16 06: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.