Kouhei Sutou
null+****@clear*****
Wed Mar 19 21:11:31 JST 2014
Kouhei Sutou 2014-03-19 21:11:31 +0900 (Wed, 19 Mar 2014) New Revision: 92ddd38b1f8f85e45a4ea1bf5394093b3bfcf39d https://github.com/ranguba/ranguba/commit/92ddd38b1f8f85e45a4ea1bf5394093b3bfcf39d Message: Use "GET" for form submit Modified files: app/views/ranguba/search/_form.html.erb Modified: app/views/ranguba/search/_form.html.erb (+2 -1) =================================================================== --- app/views/ranguba/search/_form.html.erb 2014-02-20 10:06:30 +0900 (11bbe1a) +++ app/views/ranguba/search/_form.html.erb 2014-03-19 21:11:31 +0900 (10ad78e) @@ -1,5 +1,6 @@ <div class="search_form"> -<%= form_tag(search_path(:search_request => @topic_path.search_request)) do %> +<%= form_tag(search_path(:search_request => @topic_path.search_request), + :method => "get") do %> <p> <%= text_field_tag :query, @search_request.query, :size => 25 %> <%= submit_tag t(@search_request.empty? ? "search_button_label" : "search_button_add_label") %> -------------- next part -------------- HTML����������������������������... Download