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:
parent
65f6f64f91
commit
514eb22077
1 changed files with 0 additions and 2 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue