diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-05 23:42:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-05 23:42:05 +0200 |
commit | 49cc0eb3e7d1521079e33a60216df46679082547 (patch) | |
tree | e7c7879d07d9a5a6258c14b4e2d49b8c07d5d9fa /config/routes.rb | |
parent | b9c76e2edbc372e1b472f6ba480631b79fe24722 (diff) |
Improve admin UI for custom emojis, add copy/disable/enable (#5231)
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 959afc23f..cc1f66e52 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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) |