Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

search now works when JS is disabled

I couldn't get elasticsearch configured locally, but it looks like the
GET string is the same with and without JS now. This was mentioned by
@encukou in #29 and should close that issue once this fix is verified.
  • Loading branch information...
commit c022b7957f24fdbefd44343b6e2373e264f0073f 1 parent a944d67
See jasonlong account blackant authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/shared/_header.html.haml
4 app/views/shared/_header.html.haml
View
@@ -3,7 +3,7 @@
%span#tagline
=raw random_tagline
- %form#search
- <input id="search-text" placeholder="Search entire site..." autocomplete="off" type="text" />
+ %form#search{:action => '/search/results'}
+ <input id="search-text" name="search" placeholder="Search entire site..." autocomplete="off" type="text" />
%div#search-results
Please sign in to comment.
Something went wrong with that request. Please try again.