diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-03-15 17:30:53 +0000 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-03-17 12:14:26 +0000 |
commit | f2be76f3e8daac51577dcebf52b8b2852fa62aa2 (patch) | |
tree | 7a65b9c32c047a0c2e45ffe3c1a6c25b49da94b8 /app/models/label.rb | |
parent | 4a81867df14801c302f72096de8ee5327cfb4a39 (diff) | |
download | gitlab-ce-f2be76f3e8daac51577dcebf52b8b2852fa62aa2.tar.gz |
Added labels to the issue web hook
Diffstat (limited to 'app/models/label.rb')
-rw-r--r-- | app/models/label.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/label.rb b/app/models/label.rb index f68a8c9cff2..568fa6d44f5 100644 --- a/app/models/label.rb +++ b/app/models/label.rb @@ -169,6 +169,10 @@ class Label < ActiveRecord::Base end end + def hook_attrs + attributes + end + private def issues_count(user, params = {}) |