diff --git a/app.js b/app.js index 511c256c99..e43a627f11 100644 --- a/app.js +++ b/app.js @@ -67,6 +67,9 @@ ghost.app().post('/api/v0.1/posts/create', auth, api.requestHandler(api.posts.add)); ghost.app().put('/api/v0.1/posts/edit', auth, api.requestHandler(api.posts.edit)); ghost.app()['delete']('/api/v0.1/posts/:id', auth, api.requestHandler(api.posts.destroy)); + ghost.app().get('/api/v0.1/settings', auth, api.requestHandler(api.settings.browse)); + ghost.app().get('/api/v0.1/settings/:key', auth, api.requestHandler(api.settings.read)); + ghost.app().put('/api/v0.1/settings/edit', auth, api.requestHandler(api.settings.edit)); /** * Admin routes..