mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Removed completed TODO:
refs: 4fa412c880
- this was done in the referenced commit
This commit is contained in:
parent
96ca5252ba
commit
17bb55118a
1 changed files with 0 additions and 3 deletions
|
@ -57,9 +57,6 @@ function setResponseContext(req, res, data) {
|
|||
}
|
||||
}
|
||||
|
||||
// @TODO: remove first if condition when only page key is returned
|
||||
// ref.: https://github.com/TryGhost/Ghost/issues/10042
|
||||
// The first if is now used by the preview route
|
||||
if (data && data.page) {
|
||||
if (!res.locals.context.includes('page')) {
|
||||
res.locals.context.push('page');
|
||||
|
|
Loading…
Add table
Reference in a new issue