Ghost/core/client/routes/debug.js

16 lines
493 B
JavaScript
Raw Normal View History

import styleBody from 'ghost/mixins/style-body';
2014-06-09 06:05:40 +04:00
import AuthenticatedRoute from 'ghost/routes/authenticated';
import loadingIndicator from 'ghost/mixins/loading-indicator';
var DebugRoute = AuthenticatedRoute.extend(styleBody, loadingIndicator, {
classNames: ['settings'],
2014-06-09 06:05:40 +04:00
model: function () {
return this.store.find('setting', { type: 'blog,theme' }).then(function (records) {
return records.get('firstObject');
});
}
});
export default DebugRoute;