Skip to content
Snippets Groups Projects
Commit 1c0213f2 authored by Mike Greiling's avatar Mike Greiling
Browse files

set default path for all calls to Cookies.set()

parent 67d2b2ac
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -149,6 +149,10 @@
$document = $(document);
$window = $(window);
$body = $('body');
// Set the default path for all cookies to GitLab's root directory
Cookies.defaults.path = gon.relative_url_root || '/';
gl.utils.preventDisabledButtons();
bootstrapBreakpoint = bp.getBreakpointSize();
$(".nav-sidebar").niceScroll({
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment