From aa97ff7fde07a682db59bbcfbac21cf35d8acc08 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 9 Jan 2013 09:34:26 +0200 Subject: Fixed tree logs for branches with slash. Fixed remember of path when switch branch --- app/controllers/refs_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/controllers/refs_controller.rb b/app/controllers/refs_controller.rb index e4eb2d33ea6..09d9eb51b82 100644 --- a/app/controllers/refs_controller.rb +++ b/app/controllers/refs_controller.rb @@ -12,7 +12,7 @@ class RefsController < ProjectResourceController respond_to do |format| format.html do new_path = if params[:destination] == "tree" - project_tree_path(@project, @ref) + project_tree_path(@project, (@ref + "/" + params[:path])) else project_commits_path(@project, @ref) end -- cgit v1.2.1