Good night. Friend you have not understood the question ... I want to change the layout before running the scaffold.
For example: I want to change the default layout of the scaffold. And when I run the scaffold is created the html (which I already changed) in app / views / users. Got it?? Best Regards... Adriano Dias da Silva ___________________________________ On 4 jul, 18:22, DK <[email protected]> wrote: > If I understand your question, you can just delete the new layouts and > the controller should default to the application layout. > > On 7/4/10, Adriano Dias da Silva <[email protected]> wrote: > > > > > Good afternoon everyone. > > > Using the command: > > script/generate scaffold User name:string login:string password:string > > It created a layout in html standard for CRUD in app/views/users. > > > I wonder if you can change this layout (html) standard > > that is generated by scaffold, for example by placing the default > > layout of > > my system, so I do not need to change the layout of each CRUD > > individually. > > > Is it possible? If possible please suggest me a tutorial or me > > describe step-by-step how to proceed to effect that change. > > > Thank you. > > > Best Regards ... > > Adriano Dias da Silva > > > -- > > 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. > > -- > Sent from my mobile device -- 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.

