Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-12 00:00:00 +0400
committergitlabhq <m@gitlabhq.com>2011-10-12 17:19:14 +0400
commiteefe826f83bbbb9f0bc213aea4eae851dd116655 (patch)
tree8a4dfb097ba4e6666dc2f6565e4e71100d27db3a /app/views/projects/_tree_item.html.haml
parent94cdafe79ae528c6e47ec717836287592cef90a0 (diff)
project tile view
Diffstat (limited to 'app/views/projects/_tree_item.html.haml')
-rw-r--r--app/views/projects/_tree_item.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_tree_item.html.haml b/app/views/projects/_tree_item.html.haml
index 25575283993..7179368a0c3 100644
--- a/app/views/projects/_tree_item.html.haml
+++ b/app/views/projects/_tree_item.html.haml
@@ -1,5 +1,5 @@
- file = params[:path] ? File.join(params[:path], content.name) : content.name
-- content_commit = @repo.log(@branch, file, :max_count => 1).last
+- content_commit = @project.repo.log(@branch, file, :max_count => 1).last
- return unless content_commit
%tr{ :class => "tree-item", :url => tree_file_project_path(@project, @commit.id, file) }
%td.tree-item-file-name