It's called a view, not a layout. Try looking along those lines.

On Mar 15, 2006, at 4:45 PM, Kyle Heon wrote:

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.

--
Kevin Ballard
[EMAIL PROTECTED]
http://kevin.sb.org
http://www.tildesoft.com


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Typo-list mailing list
Typo-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to