Use separate property for project path and project path with namespace inside system hook

This commit is contained in:
Dmitriy Zaporozhets 2013-05-22 14:06:31 +03:00
parent 44275e5066
commit adc51a9b91

View file

@ -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