mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
FEATURE: All preload data available under /site/
This will be essential for entirely local Discourse clients.
This commit is contained in:
@ -25,7 +25,13 @@ Discourse::Application.routes.draw do
|
||||
|
||||
resources :about
|
||||
|
||||
get "site" => "site#index"
|
||||
get "site" => "site#site"
|
||||
namespace :site do
|
||||
get "settings"
|
||||
get "custom_html"
|
||||
get "banner"
|
||||
get "emoji"
|
||||
end
|
||||
get "site_customizations/:key" => "site_customizations#show"
|
||||
|
||||
resources :forums
|
||||
|
Reference in New Issue
Block a user