Skip to content
Snippets Groups Projects
Commit 0f83558b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

fixed branch switch for code view

parent 8ebfae9a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -64,6 +64,8 @@ class RefsController < ApplicationController
protected
 
def define_tree_vars
params[:path] = nil if params[:path].blank?
@repo = project.repo
@commit = project.commit(@ref)
@tree = Tree.new(@commit.tree, project, @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