:javascript
  GitLab.GfmAutoComplete.dataSource = "#{autocomplete_sources_project_path(@project)}"
  GitLab.GfmAutoComplete.Emoji.assetBase = '/assets/emoji'
  GitLab.GfmAutoComplete.setup();

:javascript
  GitLab.GfmAutoComplete.dataSource = "#{autocomplete_sources_project_path(@project)}"
  GitLab.GfmAutoComplete.Emoji.assetBase = "#{Gitlab.config.gitlab.relative_url_root + '/assets/emoji'}"
  GitLab.GfmAutoComplete.setup();

Add support for relative url to GitLab.GfmAutoComplete.Emoji.assetBase
Add support for relative url to GitLab.GfmAutoComplete.Emoji.assetBase

Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
