Imported from Lighthouse. Original ticket at: http://rails.lighthouseapp.com/projects/8994/tickets/6472
Created by Ilya Zayats - 2011-02-26 03:36:22 UTC
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:
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.
Imported from Lighthouse.
Comment by Ilya Zayats - 2011-02-26 04:30:10 UTC
Updated patch to get rid of the second gsub call
Attachments saved to Gist: http://gist.github.com/971786