[Rails] Re: One layout for entire apps

2008-12-29 Thread Joshua Partogi
Thank you all for the responses. I'm going to try it out first. Cheers On Dec 29, 3:27 am, Robby Russell ro...@planetargon.com wrote: On Sun, Dec 28, 2008 at 4:40 AM, Joshua Partogi joshua.j...@gmail.com wrote: Dear all, I am still new in rails, and I realised that in rails each model

[Rails] Re: One layout for entire apps

2008-12-29 Thread zero0x
You can also change the layout by calling layout 'layout' from the controller class. Joshua Partogi napísal(a): Dear all, I am still new in rails, and I realised that in rails each model has its own layout/template located under layouts/ Now my question is, is it possible to have only one

[Rails] Re: One layout for entire apps

2008-12-28 Thread Michael Libby
On Sun, Dec 28, 2008 at 6:40 AM, Joshua Partogi joshua.j...@gmail.com wrote: Dear all, I am still new in rails, and I realised that in rails each model has its own layout/template located under layouts/ Now my question is, is it possible to have only one layout for the entire apps instead

[Rails] Re: One layout for entire apps

2008-12-28 Thread Robby Russell
On Sun, Dec 28, 2008 at 4:40 AM, Joshua Partogi joshua.j...@gmail.com wrote: Dear all, I am still new in rails, and I realised that in rails each model has its own layout/template located under layouts/ Now my question is, is it possible to have only one layout for the entire apps instead