diff options
author | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2017-12-04 17:45:47 +0300 |
---|---|---|
committer | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2018-01-17 11:55:00 +0300 |
commit | f99b0cc5853f10e07a8ed60caa40c07a4c677d6f (patch) | |
tree | 77e51e2ea5d968dda1932de9ab0aefb48070def7 /app/models/hooks | |
parent | a63792b7249d8b49ef9e20ee3bbabd41c22b1ccf (diff) |
no need for a named parameter
Diffstat (limited to 'app/models/hooks')
-rw-r--r-- | app/models/hooks/project_hook.rb | 2 | ||||
-rw-r--r-- | app/models/hooks/system_hook.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/hooks/project_hook.rb b/app/models/hooks/project_hook.rb index 110389d5d86..b6dd39b860b 100644 --- a/app/models/hooks/project_hook.rb +++ b/app/models/hooks/project_hook.rb @@ -1,7 +1,7 @@ class ProjectHook < WebHook include TriggerableHooks - triggerable_hooks only: [ + triggerable_hooks [ :push_hooks, :tag_push_hooks, :issue_hooks, diff --git a/app/models/hooks/system_hook.rb b/app/models/hooks/system_hook.rb index d8d8670d5b1..0528266e5b3 100644 --- a/app/models/hooks/system_hook.rb +++ b/app/models/hooks/system_hook.rb @@ -1,7 +1,7 @@ class SystemHook < WebHook include TriggerableHooks - triggerable_hooks only: [ + triggerable_hooks [ :repository_update_hooks, :push_hooks, :tag_push_hooks, |