0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/routes
Jacob Gable 5abeadf80d Ember Data with Posts
Ref #2699

- Introduce ember data dependency
- Add loadInitializers and refactor most initializers into one combined
- Add Post ember data model
- Refactor generateSlug to use title of post and ghostPaths
- Refactor post controller to not reference model.property everywhere
- Use RESTAdapter for posts, users and tags
- Setup author and tag relations in Post model
- Fix broken API calls by adding CSRF header
- Add initiaizer for csrf value
- Use actual User model for current user initializer
- Add action for setting featured post, test with actual api call
- Fix the sending of UUID's up to the server
- Refactor current-user to use ember-data store
- If a user is preloaded in the application, use pushPayload to put it
in the store
- Do a lookup on the store to get an actual User model for injection
- Fix posts/post controllerName in route/new.js
- Alter signup process to push user into ember data store
2014-05-29 07:42:51 -05:00
..
posts Ember Data with Posts 2014-05-29 07:42:51 -05:00
settings Move debug page from /settings/debug to /debug 2014-05-19 19:18:07 +02:00
application.js Ember Data with Posts 2014-05-29 07:42:51 -05:00
authenticated.js Ember Data with Posts 2014-05-29 07:42:51 -05:00
content.js Add /content redirect to Ember admin. 2014-05-15 18:52:10 -06:00
debug.js Move debug page from /settings/debug to /debug 2014-05-19 19:18:07 +02:00
editor.js Ember Data with Posts 2014-05-29 07:42:51 -05:00
forgotten.js Flesh out more of the Ember admin 2014-03-16 16:01:56 -04:00
new.js Ember Data with Posts 2014-05-29 07:42:51 -05:00
posts.js Ember Data with Posts 2014-05-29 07:42:51 -05:00
reset.js Created ResetController. 2014-03-31 13:06:28 +02:00
settings.js Flesh out more of the Ember admin 2014-03-16 16:01:56 -04:00
signin.js Ember Data with Posts 2014-05-29 07:42:51 -05:00
signup.js Ember Data with Posts 2014-05-29 07:42:51 -05:00