diff --git a/ghost/admin/app/components/collections/collection-form.hbs b/ghost/admin/app/components/collections/collection-form.hbs index 101ffadede..03e1660b99 100644 --- a/ghost/admin/app/components/collections/collection-form.hbs +++ b/ghost/admin/app/components/collections/collection-form.hbs @@ -14,6 +14,16 @@ + + + + + + + + diff --git a/ghost/admin/app/router.js b/ghost/admin/app/router.js index 882b06451f..447db1d533 100644 --- a/ghost/admin/app/router.js +++ b/ghost/admin/app/router.js @@ -51,8 +51,8 @@ Router.map(function () { this.route('tag', {path: '/tags/:tag_slug'}); this.route('collections'); - this.route('collection.new', {path: '/collection/new'}); - this.route('collection', {path: '/collection/:collection_slug'}); + this.route('collection.new', {path: '/collections/new'}); + this.route('collection', {path: '/collections/:collection_slug'}); this.route('settings-x'); this.route('settings'); diff --git a/ghost/admin/app/routes/collection.js b/ghost/admin/app/routes/collection.js index f0a5f7d39e..f2370a07c9 100644 --- a/ghost/admin/app/routes/collection.js +++ b/ghost/admin/app/routes/collection.js @@ -27,7 +27,7 @@ export default class CollectionRoute extends AuthenticatedRoute { } serialize(collection) { - return {collection_slug: collection.get('collection')}; + return {collection_slug: collection.get('slug')}; } @action