fixed brach switch
This commit is contained in:
parent
287c3c167b
commit
687290a00d
3 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
|||
\/
|
||||
%a{:href => "#"}= params[:path].split("/").join(" / ")
|
||||
|
||||
.right= render "projects/refs"
|
||||
.right= render :partial => "projects/refs", :locals => { :destination => project_commits_path(@project) }
|
||||
|
||||
%div{:id => dom_id(@project)}
|
||||
= render "commits"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
= form_tag project_commits_path(@project), :method => :get, :class => "project-refs-form" do
|
||||
= form_tag destination, :method => :get, :class => "project-refs-form" do
|
||||
= select_tag "ref", grouped_options_refs, :onchange => "this.form.submit();", :class => "project-refs-select"
|
||||
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
\/
|
||||
= link_to truncate(part, :length => 40), tree_file_project_path(@project, :path => part_path, :commit_id => @commit.try(:id), :branch => @branch, :tag => @tag), :remote => :true
|
||||
|
||||
.right= render "projects/refs"
|
||||
.right= render :partial => "projects/refs", :locals => { :destination => tree_project_path(@project) }
|
||||
.clear
|
||||
|
||||
#tree-content-holder
|
||||
|
|
Loading…
Reference in a new issue