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

15 lines
290 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.general');
}
}
});