0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/controllers
Hannah Wolfe 4c5ef16bc3
Represent channels as class instances (#9209)
refs #9192, refs #5091

- Using a class allows for easy shared logic
- Loading is designed to work from config right now, but could be DB driven, etc
- Provided configuration can be simplified and extended in the constructor / class methods
- Update tests, move custom assertions to utils
2017-11-05 10:04:59 +00:00
..
channels Represent channels as class instances (#9209) 2017-11-05 10:04:59 +00:00
frontend Represent channels as class instances (#9209) 2017-11-05 10:04:59 +00:00
index.js Splitted preview & single controllers from index (#9121) 2017-10-09 13:56:44 +02:00
preview.js Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
single.js Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00