about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-09-19 03:52:38 +0200
committerGitHub <noreply@github.com>2017-09-19 03:52:38 +0200
commit09a94b575e90dc7f6e179a1ec717156e725f915a (patch)
treef7b3ccd6e4e7fe91ce9e86c649345ee0c83bfbfa /config/routes.rb
parentd43944143af079017c494f046aa171b797f5e680 (diff)
Admin interface for listing, adding and removing custom emojis (#5002)
* Admin interface for listing, adding and removing custom emojis

* Only display local ones in the list
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index bf5428869..d38f5308a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -136,6 +136,8 @@ Rails.application.routes.draw do
     resources :users, only: [] do
       resource :two_factor_authentication, only: [:destroy]
     end
+
+    resources :custom_emojis, only: [:index, :new, :create, :destroy]
   end
 
   get '/admin', to: redirect('/admin/settings/edit', status: 302)