ability to remove source branch after merge
This commit is contained in:
parent
11f72732a8
commit
3b41b1839b
4 changed files with 18 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue