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 layout for the > entire apps instead of having separate one for each model? If so, is > there any guide I can read about it? Or could someone give me a hint > on how to do it > > Thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

