mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Add theme-components route for admin (#24264)
This commit adds an /admin/customize/theme-components route, that opens the theme page with the components tab pre-selected, so people can navigate to that directly.
This commit is contained in:
@@ -221,6 +221,7 @@ Discourse::Application.routes.draw do
|
||||
|
||||
get "customize" => "color_schemes#index", :constraints => AdminConstraint.new
|
||||
get "customize/themes" => "themes#index", :constraints => AdminConstraint.new
|
||||
get "customize/theme-components" => "themes#index", :constraints => AdminConstraint.new
|
||||
get "customize/colors" => "color_schemes#index", :constraints => AdminConstraint.new
|
||||
get "customize/colors/:id" => "color_schemes#index", :constraints => AdminConstraint.new
|
||||
get "customize/permalinks" => "permalinks#index", :constraints => AdminConstraint.new
|
||||
|
||||
Reference in New Issue
Block a user