fix blame view head nav

This commit is contained in:
Dmitriy Zaporozhets 2013-03-22 15:11:16 +02:00
parent 84043e8e44
commit de2c189ec1
2 changed files with 3 additions and 8 deletions

View file

@ -1,7 +1,2 @@
%ul.nav.nav-tabs
%li
= render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: params[:path]}
= nav_link(controller: :refs) do
= link_to 'Source', project_tree_path(@project, @ref)
%li.pull-right
= render "shared/clone_panel"
%div.tree-ref-holder
= render 'shared/ref_switcher', destination: 'tree', path: params[:path]

View file

@ -3,7 +3,7 @@
#tree-holder.tree-holder
%ul.breadcrumb
%li
%span.arrow
%i.icon-angle-right
= link_to project_tree_path(@project, @ref) do
= @project.name
- @tree.breadcrumbs(6) do |link|