From 7a76caa5a8d2c6be9aa4b698a8919e223df973d3 Mon Sep 17 00:00:00 2001 From: Jan Provaznik Date: Tue, 1 May 2018 12:39:44 +0000 Subject: Merge request and commit discussions API --- app/models/commit.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/models/commit.rb') diff --git a/app/models/commit.rb b/app/models/commit.rb index 9750e9298ec..32f3d90595a 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -105,6 +105,10 @@ class Commit end end end + + def parent_class + ::Project + end end attr_accessor :raw -- cgit v1.2.1