-
Only load what we need when visiting MR diffs page · 0344e083Sean McGivern authored
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.
0344e083
×