Skip to content
Snippets Groups Projects
Commit e9bd4506 authored by Robert Speicher's avatar Robert Speicher
Browse files

Fix logs not showing in Tree for the root path

parent 1799cf3b
No related branches found
No related tags found
1 merge request!1568Routing overhaul
Loading
Loading
@@ -55,7 +55,7 @@ class RefsController < ApplicationController
@commit = CommitDecorator.decorate(@commit)
@tree = Tree.new(@commit.tree, project, @ref, params[:path])
@tree = TreeDecorator.new(@tree)
@hex_path = Digest::SHA1.hexdigest(params[:path] || "/")
@hex_path = Digest::SHA1.hexdigest(params[:path] || "")
 
if params[:path]
@history_path = project_tree_path(@project, File.join(@ref, params[:path]))
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment