Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-20 18:09:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-20 18:09:10 +0300
commit6997e3f3d0a714bc67df268989fb089c943330cc (patch)
tree3749fb3865297df1689624b071d5d80e7783471b /app/assets/javascripts/whats_new
parent7ad82cd5d78a4d2c53512cbd1c2584be753f3646 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/whats_new')
-rw-r--r--app/assets/javascripts/whats_new/store/actions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/whats_new/store/actions.js b/app/assets/javascripts/whats_new/store/actions.js
index f209f145884..d3da988e3ed 100644
--- a/app/assets/javascripts/whats_new/store/actions.js
+++ b/app/assets/javascripts/whats_new/store/actions.js
@@ -1,5 +1,6 @@
import axios from '~/lib/utils/axios_utils';
import { parseIntPagination, normalizeHeaders } from '~/lib/utils/common_utils';
+import { joinPaths } from '~/lib/utils/url_utility';
import { STORAGE_KEY } from '../utils/notification';
import * as types from './mutation_types';
@@ -23,7 +24,7 @@ export default {
const v = versionDigest;
return axios
- .get('/-/whats_new', {
+ .get(joinPaths('/', gon.relative_url_root || '', '/-/whats_new'), {
params: {
page,
v,