[Rails] layouts

Doug Bromley
Thu, 23 Feb 2006 14:01:14 -0000

Use the "layout" method at the top of your controller.  layout
"layout-name".
For example: layout "admin"

On 2/23/06, Craig White <craigwhite@azapple.com>
wrote:
>
> On Thu, 2006-02-23 at 12:46 +0000, Mikkel Bruun wrote:
> > >How can I have a controller or view that selectively uses a
layout?
> > >
> > >Craig
> > >
> >
> >
>
http://api.rubyonrails.org/classes/ActionController/Layout/ClassMethods.html
> ----
> I have been looking at that page and recited the changes I made after
> looking at that page and can''t figure it out.
>
> Thanks
>
> Craig
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...