Commit e9bd45060e3c5198124b4cdad08a7a26f5e0408a

Authored by Robert Speicher
1 parent 1799cf3b

Fix logs not showing in Tree for the root path

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/refs_controller.rb
... ... @@ -55,7 +55,7 @@ class RefsController < ApplicationController
55 55 @commit = CommitDecorator.decorate(@commit)
56 56 @tree = Tree.new(@commit.tree, project, @ref, params[:path])
57 57 @tree = TreeDecorator.new(@tree)
58   - @hex_path = Digest::SHA1.hexdigest(params[:path] || "/")
  58 + @hex_path = Digest::SHA1.hexdigest(params[:path] || "")
59 59  
60 60 if params[:path]
61 61 @history_path = project_tree_path(@project, File.join(@ref, params[:path]))
... ...