Commit dd8f090bc84a96bce0f086a8be9840751da21747
1 parent
efa26760
Exists in
master
and in
4 other branches
Fix hardcoded condition and unassigned vars
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/controllers/public/projects_controller.rb
| ... | ... | @@ -19,6 +19,6 @@ class Public::ProjectsController < ApplicationController |
| 19 | 19 | @recent_tags = @repository.tags.first(10) |
| 20 | 20 | |
| 21 | 21 | @commit = @repository.commit(params[:ref]) |
| 22 | - @tree = Tree.new(@repository, @commit.id, @ref, @path) | |
| 22 | + @tree = Tree.new(@repository, @commit.id) | |
| 23 | 23 | end |
| 24 | 24 | end | ... | ... |
app/views/public/projects/_tree.html.haml