ability to remove source branch after merge

This commit is contained in:
Zevs 2012-06-03 21:29:20 +03:00
parent 11f72732a8
commit 3b41b1839b
4 changed files with 18 additions and 6 deletions

View file

@ -14,7 +14,8 @@ class MergeRequest < ActiveRecord::Base
serialize :st_diffs
attr_protected :author, :author_id, :project, :project_id
attr_accessor :author_id_of_changes
attr_accessor :author_id_of_changes,
:should_remove_source_branch
validates_presence_of :project_id
validates_presence_of :assignee_id