mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
39c0f219e6
Closes #2847
16 lines
493 B
JavaScript
16 lines
493 B
JavaScript
import styleBody from 'ghost/mixins/style-body';
|
|
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
|
import loadingIndicator from 'ghost/mixins/loading-indicator';
|
|
|
|
var DebugRoute = AuthenticatedRoute.extend(styleBody, loadingIndicator, {
|
|
classNames: ['settings'],
|
|
|
|
model: function () {
|
|
return this.store.find('setting', { type: 'blog,theme' }).then(function (records) {
|
|
return records.get('firstObject');
|
|
});
|
|
}
|
|
});
|
|
|
|
export default DebugRoute;
|