diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-09-23 15:06:34 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-09-23 15:07:54 +0300 |
commit | d4de3ca079960e348cb733746746065bcd8c3608 (patch) | |
tree | 7347a5230fdf68131bff147354fc7a7ece959dd2 | |
parent | bfbd81a873f99a2649f5e78618e3cb15f11f7e29 (diff) |
Set cookie path for cycle analytics cookie.
-rw-r--r-- | app/assets/javascripts/cycle-analytics.js.es6 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/cycle-analytics.js.es6 b/app/assets/javascripts/cycle-analytics.js.es6 index 6c478c55840..cd9886ba58d 100644 --- a/app/assets/javascripts/cycle-analytics.js.es6 +++ b/app/assets/javascripts/cycle-analytics.js.es6 @@ -69,7 +69,9 @@ dismissLanding() { store.isHelpDismissed = true; - $.cookie(COOKIE_NAME, true); + $.cookie(COOKIE_NAME, true, { + path: gon.relative_url_root || '/' + }); } initDropdown() { |