diff options
author | Sean McGivern <sean@gitlab.com> | 2017-03-27 10:46:14 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-03-27 10:46:14 +0100 |
commit | 0344e0838d2ae6fae483bafed2be70808b731010 (patch) | |
tree | 42209d9bc649659a6f81ec803ff2b1e770237093 /changelogs | |
parent | 7a974905264569346c264579e3bc7f3f4c351f1f (diff) | |
download | gitlab-ce-0344e0838d2ae6fae483bafed2be70808b731010.tar.gz |
Only load what we need when visiting MR diffs page
The instance variables set in this action are only used by the JSON
response. Visiting `merge_requests/:iid/diffs` in a browser always loads
the `show` action, so we don't need to find an MR diff, or an
environment, in that case.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/mr-diffs-speed-up.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/unreleased/mr-diffs-speed-up.yml b/changelogs/unreleased/mr-diffs-speed-up.yml new file mode 100644 index 00000000000..ccc7a99d05e --- /dev/null +++ b/changelogs/unreleased/mr-diffs-speed-up.yml @@ -0,0 +1,4 @@ +--- +title: Speed up initial rendering of MR diffs page +merge_request: +author: |