diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-22 14:06:31 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-05-22 14:06:31 +0300 |
commit | adc51a9b9108a3cf8088393bdd1a68a37504dc09 (patch) | |
tree | b3573934d49bf2ebdf958c9721d8432d484427a7 /app/services/system_hooks_service.rb | |
parent | 44275e5066c36da3295f46971385db0e81ca1288 (diff) | |
download | gitlab-ce-adc51a9b9108a3cf8088393bdd1a68a37504dc09.tar.gz |
Use separate property for project path and project path with namespace inside system hook
Diffstat (limited to 'app/services/system_hooks_service.rb')
-rw-r--r-- | app/services/system_hooks_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/system_hooks_service.rb b/app/services/system_hooks_service.rb index fd3c9a2cede..a52d13d5237 100644 --- a/app/services/system_hooks_service.rb +++ b/app/services/system_hooks_service.rb @@ -25,7 +25,8 @@ class SystemHooksService when Project data.merge!({ name: model.name, - path: model.path_with_namespace, + path: model.path, + path_with_namespace: model.path_with_namespace, project_id: model.id, owner_name: model.owner.name, owner_email: model.owner.email |