mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
0d7f98f4d1
We've got some fairly simple diffing logic here to update the collections which a post is in, the bulk of the changes here are to support the return of a DTO rather than Bookshelf Model. This also helps improve the architecture because we are step closer to removing infrastructure concerns (HTTP Response Headers) from the business logic layer. For now there is a crappy EventString which can be passed back to the controller which can then handle any HTTP related concerns, although long term these should be actual events like PostPublished or PostUpdated. |
||
---|---|---|
.. | ||
admin | ||
content | ||
members | ||
members-comments | ||
shared | ||
webmentions |