2014-05-14 22:47:05 +02:00
|
|
|
import styleBody from 'ghost/mixins/style-body';
|
2014-06-04 23:18:23 -04:00
|
|
|
import loadingIndicator from 'ghost/mixins/loading-indicator';
|
2014-05-14 22:47:05 +02:00
|
|
|
|
2014-06-30 14:58:10 +02:00
|
|
|
var DebugRoute = Ember.Route.extend(Ember.SimpleAuth.AuthenticatedRouteMixin, styleBody, loadingIndicator, {
|
2014-05-14 22:47:05 +02:00
|
|
|
classNames: ['settings'],
|
2014-06-09 02:05:40 +00:00
|
|
|
|
2014-05-14 22:47:05 +02:00
|
|
|
model: function () {
|
2014-06-23 14:24:37 +00:00
|
|
|
return this.store.find('setting', { type: 'blog,theme' }).then(function (records) {
|
|
|
|
return records.get('firstObject');
|
|
|
|
});
|
2014-04-08 00:01:46 +02:00
|
|
|
}
|
|
|
|
});
|
2014-06-23 14:24:37 +00:00
|
|
|
|
|
|
|
export default DebugRoute;
|