rustam mamat
3/10/2009 1:31:00 AM
[Note: parts of this message were removed to make it a legal post.]
create new layout and add the code below right under your controller
if your new layout`s name is admin
layout 'admin'
On Tue, Mar 10, 2009 at 10:09 AM, Ryan Davis <ryand-ruby@zenspider.com>wrote:
>
> On Mar 9, 2009, at 15:41 , Chris Gunnels wrote:
>
> I have created an application layout for the whole application...thing
>> is I am now building my admin side and I don't want to use the same
>> layout. how can I change the application layout if the user is in the
>> admin back end...I am assuming some sort of render to render a different
>> layout.
>>
>
> please ask in the ruby on rails list/forum.
>
>
>