fixed mr unmergable method
This commit is contained in:
parent
90748cf724
commit
f145450415
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class MergeRequest < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def mark_as_unmergable
|
def mark_as_unmergable
|
||||||
# TODO: write some code here
|
self.update_attributes :state => CANNOT_BE_MERGED
|
||||||
end
|
end
|
||||||
|
|
||||||
def reloaded_commits
|
def reloaded_commits
|
||||||
|
|
Loading…
Add table
Reference in a new issue