DEV: Convert admin emojis UI to new layout (#29615)

This PR converts the custom emoji UI in the admin pages to follow the new admin UI guidelines.
This commit is contained in:
Ted Johansson
2024-11-11 15:04:15 +08:00
committed by GitHub
parent 4ad83a98a1
commit 189d98f3ca
16 changed files with 339 additions and 169 deletions

View File

@ -246,6 +246,8 @@ Discourse::Application.routes.draw do
only: %i[index create update destroy],
constraints: AdminConstraint.new
resources :emojis, only: %i[index create destroy], constraints: AdminConstraint.new
get "emojis/new" => "emojis#index"
get "emojis/settings" => "emojis#index"
resources :form_templates, constraints: AdminConstraint.new, path: "/form-templates" do
collection { get "preview" => "form_templates#preview" }
end