mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
fixed extraneous div tag
This commit is contained in:
parent
3e668f5125
commit
3b4a293f84
7 changed files with 24 additions and 1 deletions
|
@ -25,6 +25,10 @@ var SettingsAboutRoute = AuthenticatedRoute.extend(styleBody, loadingIndicator,
|
||||||
self.set('cachedConfig', cachedConfig);
|
self.set('cachedConfig', cachedConfig);
|
||||||
return cachedConfig;
|
return cachedConfig;
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
renderTemplate: function () {
|
||||||
|
this.render('settings/about', {into: 'application'});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,10 @@ var AppsRoute = AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
|
||||||
|
|
||||||
model: function () {
|
model: function () {
|
||||||
return this.store.find('app');
|
return this.store.find('app');
|
||||||
|
},
|
||||||
|
|
||||||
|
renderTemplate: function () {
|
||||||
|
this.render('settings/apps', {into: 'application'});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,10 @@ var SettingsCodeInjectionRoute = AuthenticatedRoute.extend(styleBody, loadingInd
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
renderTemplate: function () {
|
||||||
|
this.render('settings/code-injection', {into: 'application'});
|
||||||
|
},
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
save: function () {
|
save: function () {
|
||||||
this.get('controller').send('save');
|
this.get('controller').send('save');
|
||||||
|
|
|
@ -20,6 +20,10 @@ var SettingsGeneralRoute = AuthenticatedRoute.extend(styleBody, loadingIndicator
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
renderTemplate: function () {
|
||||||
|
this.render('settings/general', {into: 'application'});
|
||||||
|
},
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
save: function () {
|
save: function () {
|
||||||
this.get('controller').send('save');
|
this.get('controller').send('save');
|
||||||
|
|
|
@ -17,6 +17,10 @@ var LabsRoute = AuthenticatedRoute.extend(styleBody, loadingIndicator, CurrentUs
|
||||||
return this.store.find('setting', {type: 'blog,theme'}).then(function (records) {
|
return this.store.find('setting', {type: 'blog,theme'}).then(function (records) {
|
||||||
return records.get('firstObject');
|
return records.get('firstObject');
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
renderTemplate: function () {
|
||||||
|
this.render('settings/labs', {into: 'application'});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,10 @@ var NavigationRoute = AuthenticatedRoute.extend(styleBody, CurrentUserSettings,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
renderTemplate: function () {
|
||||||
|
this.render('settings/navigation', {into: 'application'});
|
||||||
|
},
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
save: function () {
|
save: function () {
|
||||||
// since shortcuts are run on the route, we have to signal to the components
|
// since shortcuts are run on the route, we have to signal to the components
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
{{outlet}}
|
|
Loading…
Add table
Reference in a new issue