diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-03 14:09:53 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-01-03 14:18:05 +0100 |
commit | 476cba6ff355197ca7137af1fcab74a7d6c776ad (patch) | |
tree | b3792dd6860fc83a719bd88c1d42242fa33ea39f /lib/api | |
parent | 5e99a077ec05d970e6102dac7a0dc0cfa98a04e6 (diff) | |
download | gitlab-ce-476cba6ff355197ca7137af1fcab74a7d6c776ad.tar.gz |
Minor improvements to CI_API_V4_URL variable exposurefeature/gb/expose-ci-api-url-variable
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/helpers/version.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/version.rb b/lib/api/helpers/version.rb index 0068002003e..a322d99e9aa 100644 --- a/lib/api/helpers/version.rb +++ b/lib/api/helpers/version.rb @@ -18,7 +18,7 @@ module API end def root_url - expose_url(root_path) + @root_url ||= expose_url(root_path) end def to_s |