show who merged request
This commit is contained in:
parent
828f84fdb3
commit
7b75f3cfd3
3 changed files with 16 additions and 1 deletions
|
@ -99,7 +99,8 @@ class Project < ActiveRecord::Base
|
|||
Event.create(
|
||||
:project => self,
|
||||
:action => Event::Merged,
|
||||
:data => {:merge_request_id => merge_request.id},
|
||||
:target_id => merge_request.id,
|
||||
:target_type => "MergeRequest",
|
||||
:author_id => user.id
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue