Fixed mismatches with generated files.

`routes :to` is invalid syntax
`routes to:` is valid, but the generated routes omits `to:`