On Apr 9, 5:35 pm, CiriusMex <[email protected]> wrote: > Hello, I am developing a RubyOnRails application and need to apply a > layout dinamically to my controllers. The thing is I have 2 diferent > layouts and, in function of a parameters retreived from the database > when the page is loaded, I need my controllers to use on or the other > of the two layouts.
Take a look at the docs for layout - you can supply a method that decides which layout to use. Fred -- 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.

