mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: move search to its own route
previously search was bundled with discovery, something that makes stuff confusing internally
This commit is contained in:
@@ -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}}"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user