summaryrefslogtreecommitdiff
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-03 13:37:19 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-03 13:37:19 +0300
commit03b44916ba08ac766bb6763882be5704dca5b4ea (patch)
tree4decccab9407271d1971f28aee7b201a83637cc7 /app/models/issue.rb
parent1c077cac8a70ada8eda4a099d5bee92950eeda5d (diff)
parent1c9d2e39c1aef8e10ebff6e57c174c197a3a1c93 (diff)
downloadgitlab-ce-03b44916ba08ac766bb6763882be5704dca5b4ea.tar.gz
Merge pull request #7754 from Bugagazavr/hooks
More information in merge request hook
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index ed3d4445110..13152fdf94e 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -48,6 +48,10 @@ class Issue < ActiveRecord::Base
state :closed
end
+ def hook_attrs
+ attributes
+ end
+
# Mentionable overrides.
def gfm_reference