add a shortcut to /search/something to search for that

This commit is contained in:
joshua stein 2015-02-23 16:55:45 -06:00
parent fd00205625
commit c2e7376a7b

View file

@ -48,6 +48,7 @@ Lobsters::Application.routes.draw do
get "/t/:tag/page/:page" => "home#tagged"
get "/search" => "search#index"
get "/search/:q" => "search#index"
resources :stories do
post "upvote"