0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Removed TODO in CollectionRouter

no issue

- this is an old TODO
This commit is contained in:
kirrg001 2018-11-05 21:21:19 +01:00
parent 65f6f64f91
commit 514eb22077

View file

@ -82,8 +82,6 @@ class CollectionRouter extends ParentRouter {
/** /**
* We attach context information of the router to the request. * We attach context information of the router to the request.
* By this we can e.g. access the router options in controllers. * By this we can e.g. access the router options in controllers.
*
* @TODO: Why do we need two context objects? O_O - refactor this out
*/ */
_prepareEntriesContext(req, res, next) { _prepareEntriesContext(req, res, next) {
res.routerOptions = { res.routerOptions = {