Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-03-15 20:30:53 +0300
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-03-17 15:14:26 +0300
commitf2be76f3e8daac51577dcebf52b8b2852fa62aa2 (patch)
tree7a65b9c32c047a0c2e45ffe3c1a6c25b49da94b8 /app/models/label.rb
parent4a81867df14801c302f72096de8ee5327cfb4a39 (diff)
Added labels to the issue web hook
Diffstat (limited to 'app/models/label.rb')
-rw-r--r--app/models/label.rb4
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 = {})