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:
authorFilipa Lacerda <filipa@gitlab.com>2017-09-05 20:22:20 +0300
committerFilipa Lacerda <filipa@gitlab.com>2017-09-05 20:22:20 +0300
commit5dd1d5782e748382cfef14a87efbdcea3b8bbbb2 (patch)
tree74af8e32f943de71df41ebb391c9fa981a387136 /app/assets/javascripts/user_callout.js
parentfd428a2c1f5a73e6555bbc3584a3f3d40946f7f8 (diff)
Fixes the Cookie path
Prepares for i18n
Diffstat (limited to 'app/assets/javascripts/user_callout.js')
-rw-r--r--app/assets/javascripts/user_callout.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/user_callout.js b/app/assets/javascripts/user_callout.js
index eab6cee0886..6165d97f425 100644
--- a/app/assets/javascripts/user_callout.js
+++ b/app/assets/javascripts/user_callout.js
@@ -22,7 +22,7 @@ export default class UserCallout {
const $currentTarget = $(e.currentTarget);
if (this.options.setCalloutPerProject) {
- Cookies.set(this.cookieName, 'true', { expires: 365, path: gon.project_url });
+ Cookies.set(this.cookieName, 'true', { expires: 365, path: gon.project_path });
} else {
Cookies.set(this.cookieName, 'true', { expires: 365 });
}