Change name to slug (#8955)

This commit is contained in:
John Cowen 2020-10-19 15:20:27 +01:00 committed by GitHub
parent 9586a47065
commit bf8bb7415b
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,