mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 00:55:46 +08:00
Move "Content" under "customize" in admin.
This commit is contained in:
@ -109,8 +109,11 @@ Discourse::Application.routes.draw do
|
||||
post "flags/disagree/:id" => "flags#disagree"
|
||||
post "flags/defer/:id" => "flags#defer"
|
||||
resources :site_customizations, constraints: AdminConstraint.new
|
||||
resources :site_contents, constraints: AdminConstraint.new
|
||||
resources :site_content_types, constraints: AdminConstraint.new
|
||||
scope "/customize" do
|
||||
resources :site_contents, constraints: AdminConstraint.new
|
||||
resources :site_content_types, constraints: AdminConstraint.new
|
||||
end
|
||||
|
||||
resources :color_schemes, constraints: AdminConstraint.new
|
||||
|
||||
get "version_check" => "versions#show"
|
||||
|
Reference in New Issue
Block a user