diff options
| author | Robert Speicher <rspeicher@gmail.com> | 2016-02-12 15:34:20 -0500 |
|---|---|---|
| committer | Robert Speicher <rspeicher@gmail.com> | 2016-02-12 15:34:20 -0500 |
| commit | fe13f58f3e876e3329ca246db737268bf5b15000 (patch) | |
| tree | ba60ea1779c8ce63cf60a7df830cc62c01312e5e /app/controllers/projects_controller.rb | |
| parent | f9bf87bbe812a9ea183f1746c0d7bd82cc8423f4 (diff) | |
| download | gitlab-ce-fe13f58f3e876e3329ca246db737268bf5b15000.tar.gz | |
Update Emoji asset path
Now that we're serving assets directly from the Gemojione gem's path,
the images are not in an `emoji/` sub-folder.
Diffstat (limited to 'app/controllers/projects_controller.rb')
| -rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 14ca7426c2f..aea08ecce3e 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -236,7 +236,7 @@ class ProjectsController < ApplicationController Emoji.emojis.map do |name, emoji| { name: name, - path: view_context.image_url("emoji/#{emoji["unicode"]}.png") + path: view_context.image_url("#{emoji["unicode"]}.png") } end end |
