Fix commit url in PushObserver#post_receive_data

Fixes #2246
This commit is contained in:
Riyad Preukschas 2012-12-10 20:27:27 +01:00
parent b1437d4c8d
commit a5243178ed

View file

@ -114,7 +114,7 @@ module PushObserver
id: commit.id,
message: commit.safe_message,
timestamp: commit.date.xmlschema,
url: "#{Gitlab.config.url}/#{path}/commits/#{commit.id}",
url: "#{Gitlab.config.url}/#{path}/commit/#{commit.id}",
author: {
name: commit.author_name,
email: commit.author_email