summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-03-21 13:56:20 +0000
committerSean McGivern <sean@gitlab.com>2017-03-21 13:56:20 +0000
commit3125063127ec6881cf83e533185f7b845dbd5181 (patch)
tree261082ca4df653ad500f843b59a240d968e5ec00 /package.json
parentf592cae12992f86d711973a82296abfd7bf05bc4 (diff)
downloadgitlab-ce-fix-commit-todos.tar.gz
Fix todos page when commit todos are presentfix-commit-todos
We need to preload both: - The target's project, route, and namespace - The todo's project, route, and namespace That's because the view helpers will sometimes need the target's project, and sometimes need the project - even though they will always be the same. Also, don't preload the target for commit todos, as commits are a special type of target that doesn't exist in the database.
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions