mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: show recent searches in quick search panel (#15024)
This commit is contained in:
parent
5647819de4
commit
d99deaf1ab
19 changed files with 286 additions and 7 deletions
|
@ -428,6 +428,8 @@ Discourse::Application.routes.draw do
|
|||
put "#{root_path}/admin-login" => "users#admin_login"
|
||||
post "#{root_path}/toggle-anon" => "users#toggle_anon"
|
||||
post "#{root_path}/read-faq" => "users#read_faq"
|
||||
get "#{root_path}/recent-searches" => "users#recent_searches", constraints: { format: 'json' }
|
||||
delete "#{root_path}/recent-searches" => "users#reset_recent_searches", constraints: { format: 'json' }
|
||||
get "#{root_path}/search/users" => "users#search_users"
|
||||
|
||||
get({ "#{root_path}/account-created/" => "users#account_created" }.merge(index == 1 ? { as: :users_account_created } : { as: :old_account_created }))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue