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

Make debug an authenticated route

This commit is contained in:
Jason Williams 2014-06-09 02:05:40 +00:00
parent a55bfea5b0
commit 83dbd4a5c6

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;