Commit a5243178edec1fde0365006b2aaaf44953181d84

Authored by Riyad Preukschas
1 parent b1437d4c

Fix commit url in PushObserver#post_receive_data

Fixes #2246
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/roles/push_observer.rb
@@ -114,7 +114,7 @@ module PushObserver @@ -114,7 +114,7 @@ module PushObserver
114 id: commit.id, 114 id: commit.id,
115 message: commit.safe_message, 115 message: commit.safe_message,
116 timestamp: commit.date.xmlschema, 116 timestamp: commit.date.xmlschema,
117 - url: "#{Gitlab.config.url}/#{path}/commits/#{commit.id}", 117 + url: "#{Gitlab.config.url}/#{path}/commit/#{commit.id}",
118 author: { 118 author: {
119 name: commit.author_name, 119 name: commit.author_name,
120 email: commit.author_email 120 email: commit.author_email