summaryrefslogtreecommitdiff
path: root/app/services/system_hooks_service.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-22 14:06:31 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-22 14:06:31 +0300
commitadc51a9b9108a3cf8088393bdd1a68a37504dc09 (patch)
treeb3573934d49bf2ebdf958c9721d8432d484427a7 /app/services/system_hooks_service.rb
parent44275e5066c36da3295f46971385db0e81ca1288 (diff)
downloadgitlab-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.rb3
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