diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-09-17 21:07:17 +0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-09-27 00:32:21 +0400 |
commit | 339dfa32b810b8f15c26c85e692a18a0f47b9fca (patch) | |
tree | 751e35a791102567aa901eba14a0cf8eb29a6e63 /app/views/shared/_ref_switcher.html.haml | |
parent | 79a02df92e18137787371468be5c8897ad2f97b0 (diff) |
Fix ref_switcher path
Diffstat (limited to 'app/views/shared/_ref_switcher.html.haml')
-rw-r--r-- | app/views/shared/_ref_switcher.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_ref_switcher.html.haml b/app/views/shared/_ref_switcher.html.haml index e0c89522c11..8b44cf1944e 100644 --- a/app/views/shared/_ref_switcher.html.haml +++ b/app/views/shared/_ref_switcher.html.haml @@ -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 |