Commit d4e36640 authored by Riyad Preukschas's avatar Riyad Preukschas

Fix bug in MergeRequest#mark_as_unmergable

parent 122769e3
......@@ -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
......
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