FEATURE: All preload data available under /site/

This will be essential for entirely local Discourse clients.
This commit is contained in:
riking
2015-03-04 20:49:03 -08:00
parent 360ab3510d
commit cab92f947c
2 changed files with 25 additions and 4 deletions

View File

@ -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