Fix ref_switcher path

This commit is contained in:
Robert Speicher 2012-09-17 13:07:17 -04:00
parent 79a02df92e
commit 339dfa32b8
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
= form_tag switch_project_refs_path(@project), method: :get, class: "project-refs-form" do
= select_tag "ref", grouped_options_refs, class: "project-refs-select chosen"
= hidden_field_tag :destination, destination
- if respond_to?(:path)
- if defined?(path)
= hidden_field_tag :path, path