fixed brach switch

This commit is contained in:
Dmitriy Zaporozhets 2011-11-04 09:46:58 +02:00
parent 287c3c167b
commit 687290a00d
3 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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