Commit f1454504 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fixed mr unmergable method

parent 90748cf7
...@@ -144,7 +144,7 @@ class MergeRequest < ActiveRecord::Base ...@@ -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
......
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