summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-09-05 18:22:20 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-09-05 18:22:20 +0100
commit5dd1d5782e748382cfef14a87efbdcea3b8bbbb2 (patch)
tree74af8e32f943de71df41ebb391c9fa981a387136 /app/assets
parentfd428a2c1f5a73e6555bbc3584a3f3d40946f7f8 (diff)
downloadgitlab-ce-5dd1d5782e748382cfef14a87efbdcea3b8bbbb2.tar.gz
Fixes the Cookie path
Prepares for i18n
Diffstat (limited to 'app/assets')
-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 });
}