Change name to slug (#8955)

This commit is contained in:
John Cowen 2020-10-19 15:20:27 +01:00 committed by GitHub
parent 2a5a126917
commit c9216448e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export default Route.extend({
.split('.')
.slice(0, -1)
.join('.');
const name = this.modelFor(parent).name;
const name = this.modelFor(parent).slug;
return hash({
dc: dc,
nspace: nspace,