Commit 7f636b1306e821111555c9042b4cddc98b3dc666
1 parent
59a86e42
Exists in
master
and in
4 other branches
Fix project namespaces for web hooks data
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/models/project.rb
app/roles/push_observer.rb
... | ... | @@ -114,7 +114,7 @@ module PushObserver |
114 | 114 | id: commit.id, |
115 | 115 | message: commit.safe_message, |
116 | 116 | timestamp: commit.date.xmlschema, |
117 | - url: "#{Gitlab.config.url}/#{path}/commit/#{commit.id}", | |
117 | + url: "#{Gitlab.config.url}/#{path_with_namespace}/commit/#{commit.id}", | |
118 | 118 | author: { |
119 | 119 | name: commit.author_name, |
120 | 120 | email: commit.author_email | ... | ... |