mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 02:27:17 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user