diff options
author | Ricardo Band <xengi@mailbox.org> | 2015-09-12 20:53:18 +0000 |
---|---|---|
committer | Ricardo (XenGi) Band <email@ricardo.band> | 2015-10-02 19:44:33 +0200 |
commit | 42be5ee1cd8eb752c52ddb82bdf7c452190d4193 (patch) | |
tree | 27e9033cd517263b9af75b4c493cbab9d3bc772a /app/services/system_hooks_service.rb | |
parent | b5c12f742ab7431257cc685477d3be16c8cc5f0e (diff) | |
download | gitlab-ce-42be5ee1cd8eb752c52ddb82bdf7c452190d4193.tar.gz |
hooks: Add full project namespace to payload
Payload of "project_member, :create" and "project_member, :destroy" now also
have a field project_path_with_namespace.
Diffstat (limited to 'app/services/system_hooks_service.rb')
-rw-r--r-- | app/services/system_hooks_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/system_hooks_service.rb b/app/services/system_hooks_service.rb index 60235b6be2a..9a5fe4af9dd 100644 --- a/app/services/system_hooks_service.rb +++ b/app/services/system_hooks_service.rb @@ -54,6 +54,7 @@ class SystemHooksService data.merge!({ project_name: model.project.name, project_path: model.project.path, + project_path_with_namespace: model.project.path_with_namespace, project_id: model.project.id, user_name: model.user.name, user_email: model.user.email, |