This project is archived and is in readonly mode.

#1193 ✓invalid
Sudhir

Please provide script to generate default layout

Reported by Sudhir | October 8th, 2008 @ 05:44 PM | in 2.x

Please provide a script to generate a default layout (view template) for a controller.

Something like this:

script/generate layout mycontroller

create app/views/layouts/mycontroller.html.erb

This is required to be able to edit the default layout.

Thanks.

=sudhir.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages