0
Fork 0
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:
Austin Burdine 2015-05-12 07:35:23 -06:00 committed by Hannah Wolfe
parent c17c40a28c
commit f2f10ac7a6
7 changed files with 24 additions and 1 deletions

View file

@ -25,6 +25,10 @@ var SettingsAboutRoute = AuthenticatedRoute.extend(styleBody, loadingIndicator,
self.set('cachedConfig', cachedConfig);
return cachedConfig;
});
},
renderTemplate: function () {
this.render('settings/about', {into: 'application'});
}
});

View file

@ -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'});
}
});

View file

@ -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');

View file

@ -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');

View file

@ -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'});
}
});

View file

@ -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

View file

@ -1 +0,0 @@
{{outlet}}