Commit 86c97373 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix issue when project owner cant close MR from forked project

parent 2afd4aaa
......@@ -250,6 +250,10 @@ class MergeRequest < ActiveRecord::Base
(source_project.root_ref? source_branch) || for_fork?
end
def project
target_project
end
private
def dump_commits(commits)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment