pullrequest发送消息

This commit is contained in:
huang 2016-11-30 08:37:56 +08:00
parent 2cee4448ea
commit 9fa4b5613a
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ class PullRequestsController < ApplicationController
private private
def send_message user_id, project_id, pull_request_id def send_message user_id, project_id, pull_request_id
self.forge_acts << ForgeMessage.new(:user_id => user_id, :project_id => project_id, ForgeMessage.create(:user_id => user_id, :project_id => project_id,
:forge_message_id => pull_request_id, :forge_message_type => "PullRequest", :viewed => true) :forge_message_id => pull_request_id, :forge_message_type => "PullRequest", :viewed => true)
end end