Commit graph

1 commit

Author SHA1 Message Date
Sean McGivern
0344e0838d 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.
2017-03-27 10:46:14 +01:00