0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Merge pull request #2917 from jaswilli/debug-cleanup

Make debug an authenticated route
This commit is contained in:
Hannah Wolfe 2014-06-09 19:58:17 +02:00
commit 438a20fd1e

View file

@ -1,13 +1,11 @@
import styleBody from 'ghost/mixins/style-body';
import AuthenticatedRoute from 'ghost/routes/authenticated';
import SettingsModel from 'ghost/models/settings';
var settingsModel = SettingsModel.create();
var DebugRoute = Ember.Route.extend(styleBody, {
export default AuthenticatedRoute.extend(styleBody, {
classNames: ['settings'],
model: function () {
return settingsModel;
return SettingsModel.create();
}
});
export default DebugRoute;