[typo] Theme overrides

Kevin Ballard kevin at sb.org
Wed Mar 15 22:04:37 EST 2006


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
kevin at sb.org
http://kevin.sb.org
http://www.tildesoft.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2378 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/typo-list/attachments/20060315/db2462f5/attachment.bin 


More information about the Typo-list mailing list