diff options
author | Kirill Zaitsev <kirik910@gmail.com> | 2014-10-05 17:03:15 +0400 |
---|---|---|
committer | Kirill Zaitsev <kirik910@gmail.com> | 2014-10-05 20:41:33 +0400 |
commit | 11848febd1170042523907652a36503c57e9fac2 (patch) | |
tree | be7b20034c4b140a054fac94176aba2c55275cfb /app/services/issues/base_service.rb | |
parent | 43be3fcb833fe522721a7192fffd8d7348b01ffb (diff) | |
download | gitlab-ce-11848febd1170042523907652a36503c57e9fac2.tar.gz |
Add issueable actor
Diffstat (limited to 'app/services/issues/base_service.rb')
-rw-r--r-- | app/services/issues/base_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/issues/base_service.rb b/app/services/issues/base_service.rb index 71b9ffc3489..2deffe3927a 100644 --- a/app/services/issues/base_service.rb +++ b/app/services/issues/base_service.rb @@ -8,7 +8,7 @@ module Issues end def execute_hooks(issue, action = 'open') - issue_data = issue.to_hook_data + issue_data = issue.to_hook_data(current_user) issue_url = Gitlab::UrlBuilder.new(:issue).build(issue.id) issue_data[:object_attributes].merge!(url: issue_url, action: action) issue.project.execute_hooks(issue_data, :issue_hooks) |