Change name to slug (#8955)
This commit is contained in:
parent
2a5a126917
commit
c9216448e2
|
@ -11,7 +11,7 @@ export default Route.extend({
|
||||||
.split('.')
|
.split('.')
|
||||||
.slice(0, -1)
|
.slice(0, -1)
|
||||||
.join('.');
|
.join('.');
|
||||||
const name = this.modelFor(parent).name;
|
const name = this.modelFor(parent).slug;
|
||||||
return hash({
|
return hash({
|
||||||
dc: dc,
|
dc: dc,
|
||||||
nspace: nspace,
|
nspace: nspace,
|
||||||
|
|
Loading…
Reference in New Issue