提交 0f83558b 编写于 作者: D Dmitriy Zaporozhets

fixed branch switch for code view

上级 8ebfae9a
......@@ -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])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册