diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-29 16:51:04 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-29 16:51:04 +0300 |
commit | dd8f090bc84a96bce0f086a8be9840751da21747 (patch) | |
tree | 523e63c5fecfe801305652469474e72cf0e0deda /app/controllers | |
parent | efa267602122dc2aa5ee789a87fe4039c7ffe484 (diff) | |
download | gitlab-ce-dd8f090bc84a96bce0f086a8be9840751da21747.tar.gz |
Fix hardcoded condition and unassigned vars
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/public/projects_controller.rb | 2 |
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 |