diff --git a/config/routes.rb b/config/routes.rb index 37a93cd2698..49a9ae94baa 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -166,7 +166,8 @@ Discourse::Application.routes.draw do post "flags/disagree/:id" => "flags#disagree" post "flags/defer/:id" => "flags#defer" resources :site_customizations, constraints: AdminConstraint.new - scope "/customize" do + + scope "/customize", constraints: AdminConstraint.new do resources :user_fields, constraints: AdminConstraint.new resources :emojis, constraints: AdminConstraint.new