We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In router Router.group('/index', 'index', function() { this.route('/', {name: 'dashboard', sitebar: true, navbarTop: false}); this.group('/resource', 'resource', function() { this.route('/:id/resource', { name: 'show', }); }); }); When i click it show http://localhost:3000/Fxc3rYgxdWmvPWyi6
i want this http://localhost:3000/index/resource/Fxc3rYgxdWmvPWyi6
The text was updated successfully, but these errors were encountered:
Not sure how groups influence the path name, but you should add the data id into the pathFor request:
pathFor
{{pathFor 'show' id=data._id }}
Sorry, something went wrong.
thank it work
No branches or pull requests
In router
Router.group('/index', 'index', function() {
this.route('/', {name: 'dashboard', sitebar: true, navbarTop: false});
this.group('/resource', 'resource', function() {
this.route('/:id/resource', {
name: 'show',
});
});
});
When i click it show http://localhost:3000/Fxc3rYgxdWmvPWyi6
i want this http://localhost:3000/index/resource/Fxc3rYgxdWmvPWyi6
The text was updated successfully, but these errors were encountered: