Add redirection for "/search?q="

pull/62/merge
Thibaut 11 years ago
parent 71afc2efa3
commit aa41562f5c

@ -120,6 +120,10 @@ class App < Sinatra::Application
end end
end end
get '/search' do
redirect "/#q=#{params[:q]}"
end
get '/ping' do get '/ping' do
200 200
end end

Loading…
Cancel
Save