This project is archived and is in readonly mode.

#6472 new
Ilya Zayats

Passing actions with colons to the controller generator

Reported by Ilya Zayats | February 26th, 2011 @ 03:36 AM

If we accidentally try to pass actions as symbols to the controller generator (so I do very often) it will break everything because we will have routes like this:

 get "controller/:index"

And that will produce `default_controller_and_action': missing :controller (ArgumentError)' error

I've fixed that, now all colons or commas will be omitted in action names.

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

Tags

Pages