diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-07-12 16:40:05 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-07-14 15:31:48 -0300 |
commit | d54a281e3d1c543f4cbd550c62f62d225f595bbb (patch) | |
tree | 70ee57d5daec2fb141b1bbd4cd9bb8e84e7b3a05 /app/views | |
parent | c49517a0048f24e57f6d6ab2a5e80c8de132280d (diff) | |
download | gitlab-ce-d54a281e3d1c543f4cbd550c62f62d225f595bbb.tar.gz |
Fix creating group with space in group path
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/_search.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_search.html.haml b/app/views/layouts/_search.html.haml index 245b9c3b4d4..f7580f00159 100644 --- a/app/views/layouts/_search.html.haml +++ b/app/views/layouts/_search.html.haml @@ -44,7 +44,7 @@ name: "#{j(@project.name)}" }; - - if @group and @group.path + - if @group && @group.persisted? && @group.path :javascript gl.groupOptions = gl.groupOptions || {}; gl.groupOptions["#{j(@group.path)}"] = { |