add a shortcut to /search/something to search for that
This commit is contained in:
parent
fd00205625
commit
c2e7376a7b
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue