Skip to content
Snippets Groups Projects
Commit 1e8add32 authored by Humberto Pereira's avatar Humberto Pereira
Browse files

Added hook execution to reopened e updated issues

parent 8c670b66
No related branches found
No related tags found
1 merge request!5881More issues and merge request events support in Project web hooks
Loading
Loading
@@ -13,6 +13,7 @@ class IssueObserver < BaseObserver
 
def after_reopen(issue, transition)
create_note(issue)
execute_hooks(issue)
end
 
def after_update(issue)
Loading
Loading
@@ -21,6 +22,7 @@ class IssueObserver < BaseObserver
end
 
issue.notice_added_references(issue.project, current_user)
execute_hooks(issue)
end
 
protected
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment