This project is archived and is in readonly mode.

#5656 ✓invalid
Marjan Krekoten'

[PATCH] Update scaffold_controller generator to use new respond_with syntax

Reported by Marjan Krekoten' | September 18th, 2010 @ 07:10 PM

Currently generated by scaffold and scaffold_controller generators controllers use respond_to syntax. I've attached patch that switches them to use new respond_with syntax. Also I've attached 2nd patch that removes some code duplication from generated code.

What do you think about this?

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>

People watching this ticket

Pages