UX: move search to its own route

previously search was bundled with discovery, something that makes stuff confusing internally
This commit is contained in:
Sam
2015-07-27 16:13:11 +10:00
parent 68a262ff08
commit 41ceff8430
13 changed files with 244 additions and 63 deletions

View File

@@ -881,6 +881,8 @@ en:
search:
title: "search topics, posts, users, or categories"
no_results: "No results found."
no_more_results: "No more results found."
search_help: Search help
searching: "Searching ..."
post_format: "#{{post_number}} by {{username}}"

View File

@@ -405,6 +405,7 @@ Discourse::Application.routes.draw do
get "top" => "list#top"
get "search/query" => "search#query"
get "search2" => "search#show"
# Topics resource
get "t/:id" => "topics#show"