diff options
Diffstat (limited to 'app/models/tree.rb')
| -rw-r--r-- | app/models/tree.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/tree.rb b/app/models/tree.rb index f1077772ea9..ac2183be44b 100644 --- a/app/models/tree.rb +++ b/app/models/tree.rb @@ -11,7 +11,7 @@ class Tree @readme = Gitlab::Git::Blob.find(git_repo, sha, readme_path) end - if contribution_tree = @entries.find(&:contribution?) + if contribution_tree = @entries.find(&:contributing?) contribution_path = path == '/' ? contribution_tree.name : File.join(path, contribution_tree.name) @contribution_guide = Gitlab::Git::Blob.find(git_repo, sha, contribution_path) end |
