mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 13:46:11 +10:00
Fix bug in MergeRequest#mark_as_unmergable
This commit is contained in:
@@ -135,7 +135,8 @@ class MergeRequest < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def mark_as_unmergable
|
||||
self.update_attributes state: CANNOT_BE_MERGED
|
||||
self.state = CANNOT_BE_MERGED
|
||||
self.save
|
||||
end
|
||||
|
||||
def reloaded_commits
|
||||
|
||||
Reference in New Issue
Block a user