• Stan Hu's avatar
    Fix Error 500 when viewing a merge request with a deleted source project · 161b776d
    Stan Hu authored
    If the merge request can be rebased based on the history of the commits,
    users attempting to view the merge request would hit an Error 500. This
    occurred because `user_can_push_to_source_branch?` would be called
    on a non-existent project.
    
    Closes gitlab-org/gitlab-ce#33011
    161b776d
merge_request_entity_spec.rb 5.11 KB