Ghost/ghost/admin/app/routes/settings/design/uploadtheme.js
Kevin Ansfield 30a5ac904d rename settings/navigation -> settings/design, move theme management (#543)
no issue

- following from the `settings/general` redesign, navigation and themes management are now co-located in `settings/design`
2017-02-21 19:04:50 +00:00

15 lines
289 B
JavaScript

import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
export default AuthenticatedRoute.extend({
model() {
return this.get('store').findAll('theme');
},
actions: {
cancel() {
this.transitionTo('settings.design');
}
}
});