0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Cleaned up router

This commit is contained in:
Peter Zimon 2021-10-18 13:39:09 +02:00
parent a78afb5749
commit 4b9a6f59d8

View file

@ -58,14 +58,6 @@ Router.map(function () {
this.route('user', {path: ':user_slug'}); this.route('user', {path: ':user_slug'});
}); });
// this.route('staff', function () {
// this.route('user', {path: ':user_slug'});
// });
// this.route('settings.products', {path: '/settings/products'});
// this.route('settings.product.new', {path: '/settings/product/new'});
// this.route('settings.product', {path: '/settings/product/:product_id'});
this.route('settings.theme', {path: '/settings/theme'}, function () { this.route('settings.theme', {path: '/settings/theme'}, function () {
this.route('uploadtheme'); this.route('uploadtheme');
this.route('install'); this.route('install');