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
[EMAIL PROTECTED]
www.kyleheon.com


-----Original Message-----
From: Kevin Ballard [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 15, 2006 10:05 PM
To: [EMAIL PROTECTED]; typo-list@rubyforge.org
Subject: Re: [typo] Theme overrides

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



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

Reply via email to