Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Disable Application Layout?

Reply
Thread Tools

Disable Application Layout?

 
 
Chris Gunnels
Guest
Posts: n/a
 
      03-09-2009
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.

Thx in advance.
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Ryan Davis
Guest
Posts: n/a
 
      03-10-2009

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.


 
Reply With Quote
 
 
 
 
rustam mamat
Guest
Posts: n/a
 
      03-10-2009
[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->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.
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable the PrintScreen Button from web application Juan ASP General 1 05-05-2008 10:15 AM
Is it possible to disable toolbars in my (asp.net) web application? Ravi Javascript 1 10-31-2006 06:55 AM
Wildcard application Mappings disable default documents Tiziana Loporchio MCSD.NET ASP .Net 0 10-12-2005 03:49 PM
Does anyone knows how to "disable multiple instances of application"?! fish C++ 3 11-13-2004 07:33 PM
Winform Application Configuration Deleted by Application lhak ASP .Net 0 10-23-2004 11:47 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57