0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/core
Nazar Gargol 4c5bff0f49 Removed toJSON serialization in findPage method (#9899)
refs #9866

- Removed `toJSON` call in `findPage`
- Added JSON serialization on API layer
- Reason: model and api layer were coupled - all other model actions just returned the raw data and no specific format
- Corrected test suites to serialize fetched models to JSON
- Removed `absolute_urls` attribute from validOptions findPage methods as it's no longer needed in the data layer
- Changed 'include' test as this option is now tolerated and returns data
2018-09-26 14:11:22 +02:00
..
client@3419a88002 Updated Ghost-Admin to 2.1.4 2018-09-25 18:04:57 +07:00
server Removed toJSON serialization in findPage method (#9899) 2018-09-26 14:11:22 +02:00
test Removed toJSON serialization in findPage method (#9899) 2018-09-26 14:11:22 +02:00
index.js Changed where we trigger server start/stop announcement (#9815) 2018-08-22 13:28:31 +02:00