I have this search controller url:
http://localhost:3000/search/index?utf8=✓&search=Search_terms
how can trim this to:
http://localhost:3000/search=query
the search code:
#search-box
#search-form
= form_tag search_index_path, :method => 'get' do
= text_field_tag :search, params[:search], :autocomplete => "off"
%button#search-button{:type => "submit"}
%span Go!
Or is that possible??
Please advise.