Fixed tree logs for branches with slash. Fixed remember of path when switch branch
This commit is contained in:
parent
f9528bfb86
commit
aa97ff7fde
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue