Commit fe838588ae33a6a293f76a0402e88f54dac544cd
Exists in
master
and in
4 other branches
Merge pull request #3704 from former03/feature_bugfix_js_memberadd_realtive_url_root
[BUGFIX] User suggest at team_members/new not working with relative_url_root
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
app/assets/javascripts/api.js.coffee
app/controllers/application_controller.rb
... | ... | @@ -155,5 +155,6 @@ class ApplicationController < ActionController::Base |
155 | 155 | gon.api_version = Gitlab::API.version |
156 | 156 | gon.api_token = current_user.private_token if current_user |
157 | 157 | gon.gravatar_url = request.ssl? ? Gitlab.config.gravatar.ssl_url : Gitlab.config.gravatar.plain_url |
158 | + gon.relative_url_root = Gitlab.config.gitlab.relative_url_root | |
158 | 159 | end |
159 | 160 | end | ... | ... |