diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-12-04 12:32:13 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-12-04 12:32:13 +0100 |
commit | b2c4675cb0e681027334e5bd046451d3116924c8 (patch) | |
tree | fdd63aa1294aa04f48fa5ff52ad2c7d255b78420 /app/models | |
parent | b9a0f96d42f52dfdad57ac8a2a5056a9262e6a88 (diff) | |
download | gitlab-ce-b2c4675cb0e681027334e5bd046451d3116924c8.tar.gz |
Recursivity needed if a fork is a fork of a fork.
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/lfs_object.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/lfs_object.rb b/app/models/lfs_object.rb index 43b845b29c6..a243c7b77cc 100644 --- a/app/models/lfs_object.rb +++ b/app/models/lfs_object.rb @@ -8,7 +8,7 @@ class LfsObject < ActiveRecord::Base def storage_project(project) if project && project.forked? - project.forked_from_project + storage_project(project.forked_from_project) else project end |