Gestionnaire: move recherche_path to gestionnaire_recherche_path

This commit is contained in:
simon lehericey 2018-02-21 13:42:12 +01:00
parent c1bbe72dbd
commit a752627d00

View file

@ -34,7 +34,7 @@
- if nav_bar_profile == :gestionnaire && gestionnaire_signed_in? - if nav_bar_profile == :gestionnaire && gestionnaire_signed_in?
%li %li
.header-search .header-search
= form_tag recherche_path, method: :get, class: "form" do = form_tag gestionnaire_recherche_path, method: :get, class: "form" do
= text_field_tag "q", "#{@search_terms if @search_terms.present?}", placeholder: "Rechercher un dossier" = text_field_tag "q", "#{@search_terms if @search_terms.present?}", placeholder: "Rechercher un dossier"
%button{ title: "Rechercher" } %button{ title: "Rechercher" }
= image_tag "icons/search-blue.svg" = image_tag "icons/search-blue.svg"