mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
11 lines
390 B
JavaScript
11 lines
390 B
JavaScript
import loadingIndicator from 'ghost/mixins/loading-indicator';
|
|
|
|
var SettingsGeneralRoute = Ember.Route.extend(SimpleAuth.AuthenticatedRouteMixin, loadingIndicator, {
|
|
model: function () {
|
|
return this.store.find('setting', { type: 'blog,theme' }).then(function (records) {
|
|
return records.get('firstObject');
|
|
});
|
|
}
|
|
});
|
|
|
|
export default SettingsGeneralRoute;
|