summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAnnabel Dunstone <a.dunstone89@gmail.com>2016-02-22 20:16:00 -0600
committerAnnabel Dunstone <a.dunstone89@gmail.com>2016-02-22 20:16:00 -0600
commit7bb378b33d1f02cbb9b09f0987d1d01cd6316671 (patch)
tree48bd53eeae868c873092725d53387b90e5117ddd /config
parentb80df0873524825a3dedc9d35427941db94c8ab7 (diff)
downloadgitlab-ce-7bb378b33d1f02cbb9b09f0987d1d01cd6316671.tar.gz
Create EmojisController
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 78d39338bf2..e50f2bc5dee 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -42,8 +42,9 @@ Rails.application.routes.draw do
# Autocomplete
get '/autocomplete/users' => 'autocomplete#users'
get '/autocomplete/users/:id' => 'autocomplete#user'
- get '/emoji_menu' => 'autocomplete#emoji_menu'
+ # Emojis
+ resources :emojis, only: :index
# Search
get 'search' => 'search#show'