summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-29 16:51:04 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-29 16:51:04 +0300
commitdd8f090bc84a96bce0f086a8be9840751da21747 (patch)
tree523e63c5fecfe801305652469474e72cf0e0deda /app/controllers
parentefa267602122dc2aa5ee789a87fe4039c7ffe484 (diff)
downloadgitlab-ce-dd8f090bc84a96bce0f086a8be9840751da21747.tar.gz
Fix hardcoded condition and unassigned vars
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/public/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/public/projects_controller.rb b/app/controllers/public/projects_controller.rb
index ed90d0348ea..85216cd3271 100644
--- a/app/controllers/public/projects_controller.rb
+++ b/app/controllers/public/projects_controller.rb
@@ -19,6 +19,6 @@ class Public::ProjectsController < ApplicationController
@recent_tags = @repository.tags.first(10)
@commit = @repository.commit(params[:ref])
- @tree = Tree.new(@repository, @commit.id, @ref, @path)
+ @tree = Tree.new(@repository, @commit.id)
end
end