Improve admin UI for custom emojis, add copy/disable/enable (#5231)
This commit is contained in:
parent
b9c76e2edb
commit
49cc0eb3e7
13 changed files with 330 additions and 15 deletions
|
@ -139,7 +139,13 @@ Rails.application.routes.draw do
|
|||
resource :two_factor_authentication, only: [:destroy]
|
||||
end
|
||||
|
||||
resources :custom_emojis, only: [:index, :new, :create, :destroy]
|
||||
resources :custom_emojis, only: [:index, :new, :create, :destroy] do
|
||||
member do
|
||||
post :copy
|
||||
post :enable
|
||||
post :disable
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
get '/admin', to: redirect('/admin/settings/edit', status: 302)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue