Fix controller generator for ruby 1.9 hash syntax routes