diff --git a/config/routes.rb b/config/routes.rb index cc95f859fe..5f40d681af 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -183,7 +183,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