Ghost/ghost/admin/app/routes/settings/design/uploadtheme.js

15 lines
289 B
JavaScript
Raw Normal View History

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