diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-09-05 18:22:20 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-09-05 18:22:20 +0100 |
commit | 5dd1d5782e748382cfef14a87efbdcea3b8bbbb2 (patch) | |
tree | 74af8e32f943de71df41ebb391c9fa981a387136 /app/assets | |
parent | fd428a2c1f5a73e6555bbc3584a3f3d40946f7f8 (diff) | |
download | gitlab-ce-5dd1d5782e748382cfef14a87efbdcea3b8bbbb2.tar.gz |
Fixes the Cookie path
Prepares for i18n
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/user_callout.js | 2 |
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 }); } |