summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-03-06 23:23:14 +0000
committerEric Eastwood <contact@ericeastwood.com>2017-03-06 23:23:14 +0000
commit5ea6f4b017ae5cecf431d26bbf69fea524fe9428 (patch)
tree5ebd7ca37674cf271e14b1a255bf3accef3973e4 /config
parentf911b948e9b376e65f5d5bf7e6d09b32e3c995c8 (diff)
parentca132c7344dcc45992b00b25a4f141179a628b6a (diff)
downloadgitlab-ce-5ea6f4b017ae5cecf431d26bbf69fea524fe9428.tar.gz
Merge branch '26371-native-emojis-v3-code' into '26371-native-emojis-v3' 26371-native-emojis-v3
Native Unicode Emojis See merge request !9570
Diffstat (limited to 'config')
-rw-r--r--config/application.rb1
-rw-r--r--config/routes.rb3
-rw-r--r--config/routes/project.rb1
-rw-r--r--config/webpack.config.js1
4 files changed, 1 insertions, 5 deletions
diff --git a/config/application.rb b/config/application.rb
index fce3d5bcd22..cdb93e50e66 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -91,7 +91,6 @@ module Gitlab
# Enable the asset pipeline
config.assets.enabled = true
- config.assets.paths << Gemojione.images_path
config.assets.paths << "vendor/assets/fonts"
config.assets.precompile << "*.png"
config.assets.precompile << "print.css"
diff --git a/config/routes.rb b/config/routes.rb
index 06d565df469..06293316937 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -27,9 +27,6 @@ Rails.application.routes.draw do
get '/autocomplete/users/:id' => 'autocomplete#user'
get '/autocomplete/projects' => 'autocomplete#projects'
- # Emojis
- resources :emojis, only: :index
-
# Search
get 'search' => 'search#show'
get 'search/autocomplete' => 'search#autocomplete', as: :search_autocomplete
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 7dc7963ab88..f5cc99b6867 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -13,7 +13,6 @@ constraints(ProjectUrlConstrainer.new) do
resources :autocomplete_sources, only: [] do
collection do
- get 'emojis'
get 'members'
get 'issues'
get 'merge_requests'
diff --git a/config/webpack.config.js b/config/webpack.config.js
index d9fa70c29fb..a3f9a5212e8 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -132,6 +132,7 @@ var config = {
extensions: ['.js', '.es6', '.js.es6'],
alias: {
'~': path.join(ROOT_PATH, 'app/assets/javascripts'),
+ 'emoji-map$': path.join(ROOT_PATH, 'fixtures/emojis/digests.json'),
'emoji-aliases$': path.join(ROOT_PATH, 'fixtures/emojis/aliases.json'),
'icons': path.join(ROOT_PATH, 'app/views/shared/icons'),
'vendor': path.join(ROOT_PATH, 'vendor/assets/javascripts'),