mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
fixed extraneous div tag
This commit is contained in:
parent
c17c40a28c
commit
f2f10ac7a6
7 changed files with 24 additions and 1 deletions
|
@ -25,6 +25,10 @@ var SettingsAboutRoute = AuthenticatedRoute.extend(styleBody, loadingIndicator,
|
|||
self.set('cachedConfig', cachedConfig);
|
||||
return cachedConfig;
|
||||
});
|
||||
},
|
||||
|
||||
renderTemplate: function () {
|
||||
this.render('settings/about', {into: 'application'});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -19,6 +19,10 @@ var AppsRoute = AuthenticatedRoute.extend(styleBody, CurrentUserSettings, {
|
|||
|
||||
model: function () {
|
||||
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: {
|
||||
save: function () {
|
||||
this.get('controller').send('save');
|
||||
|
|
|
@ -20,6 +20,10 @@ var SettingsGeneralRoute = AuthenticatedRoute.extend(styleBody, loadingIndicator
|
|||
});
|
||||
},
|
||||
|
||||
renderTemplate: function () {
|
||||
this.render('settings/general', {into: 'application'});
|
||||
},
|
||||
|
||||
actions: {
|
||||
save: function () {
|
||||
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 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: {
|
||||
save: function () {
|
||||
// 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