mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
15 lines
321 B
JavaScript
15 lines
321 B
JavaScript
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||
|
|
||
|
export default AuthenticatedRoute.extend({
|
||
|
|
||
|
model() {
|
||
|
return this.modelFor('settings.general').settings.get('availableThemes');
|
||
|
},
|
||
|
|
||
|
actions: {
|
||
|
cancel() {
|
||
|
this.transitionTo('settings.general');
|
||
|
}
|
||
|
}
|
||
|
});
|