Fix ref_switcher path
This commit is contained in:
parent
79a02df92e
commit
339dfa32b8
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
%ul.nav.nav-tabs
|
||||
%li
|
||||
= render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: params[:path]}
|
||||
= render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: @path}
|
||||
%li{class: "#{'active' if (controller.controller_name == "tree") }"}
|
||||
= link_to project_tree_path(@project, @ref) do
|
||||
Source
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue