Commit a5243178 authored by Riyad Preukschas's avatar Riyad Preukschas

Fix commit url in PushObserver#post_receive_data

Fixes #2246
parent b1437d4c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment