From a5243178edec1fde0365006b2aaaf44953181d84 Mon Sep 17 00:00:00 2001 From: Riyad Preukschas Date: Mon, 10 Dec 2012 20:27:27 +0100 Subject: [PATCH] Fix commit url in PushObserver#post_receive_data --- app/roles/push_observer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/roles/push_observer.rb b/app/roles/push_observer.rb index c5c5203..8d41464 100644 --- a/app/roles/push_observer.rb +++ b/app/roles/push_observer.rb @@ -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 -- libgit2 0.21.2