Merge Request uses StateMachine now
This commit is contained in:
parent
b45e9aefd3
commit
29f70acc98
4 changed files with 21 additions and 4 deletions
|
@ -25,7 +25,7 @@ class MergeRequest < ActiveRecord::Base
|
|||
include Issuable
|
||||
|
||||
attr_accessible :title, :assignee_id, :target_branch, :source_branch, :milestone_id,
|
||||
:author_id_of_changes
|
||||
:author_id_of_changes, :state_event
|
||||
|
||||
attr_accessor :should_remove_source_branch
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue