Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iron generate route with '/users/:_id' generates route as '/users/id' #234

Open
HarleyGolfGuy opened this issue Feb 8, 2016 · 2 comments

Comments

@HarleyGolfGuy
Copy link

When I tried to generate the new route as so:
iron g:route '/users/:_id

The resulting route in routes.js looks like this:
Router.route('/users/id', { name: 'usersId', controller: 'IdController', where: 'client' });

I expected
Router.route('/users/:_id', { name: 'usersId', controller: 'IdController', where: 'client' });

@nodeGarden
Copy link

+1

1 similar comment
@zorrobyte
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants