• Sean McGivern's avatar
    Only load what we need when visiting MR diffs page · 0344e083
    Sean 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
merge_requests_controller.rb 20.8 KB