Add BlameController, remove Refs#blame action

This commit is contained in:
Robert Speicher 2012-09-17 13:36:13 -04:00
parent 37f0b600bc
commit 39c6579306
8 changed files with 57 additions and 27 deletions

View file

@ -1,11 +0,0 @@
%ul.nav.nav-tabs
%li
= render partial: 'shared/ref_switcher', locals: {destination: 'tree', path: params[:path]}
%li{class: "#{'active' if (controller.controller_name == "refs") }"}
= link_to project_tree_path(@project, @ref) do
Source
%li.right
.input-prepend.project_clone_holder
%button{class: "btn small active", :"data-clone" => @project.ssh_url_to_repo} SSH
%button{class: "btn small", :"data-clone" => @project.http_url_to_repo} HTTP
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select span5"