fixed mr unmergable method

This commit is contained in:
Dmitriy Zaporozhets 2012-03-31 13:48:30 +03:00
parent 90748cf724
commit f145450415
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class MergeRequest < ActiveRecord::Base
end
def mark_as_unmergable
# TODO: write some code here
self.update_attributes :state => CANNOT_BE_MERGED
end
def reloaded_commits