0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/apps
Hannah Wolfe 9b54ed0689 Refactored apps to have access to a router
refs #9192

- Instead of `setupRoutes` function in apps that gets passed a router, there is now a registerRouter function as part of the proxy
- Moved towards a route service, which will know about all routes
- Using classes to abstract away shared behaviour

Notes:

- changing the app proxy didn't result in a test failure!
- structure of route service is totally new and may change a lot yet
2017-11-01 15:02:25 +00:00
..
amp Refactored apps to have access to a router 2017-11-01 15:02:25 +00:00
default-cards Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
private-blogging Refactored apps to have access to a router 2017-11-01 15:02:25 +00:00
subscribers Refactored apps to have access to a router 2017-11-01 15:02:25 +00:00