diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-10-06 18:05:14 +0000 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2018-10-06 18:05:14 +0000 |
commit | 75b2c9bf6f5529bf198fef92903ad27836487ca6 (patch) | |
tree | 2c5d9b4d5abe82538a449ffbf889eac07d67573d /app/views/groups | |
parent | 4c351e17eefb0f24979084219521f0426620a244 (diff) | |
download | gitlab-ce-75b2c9bf6f5529bf198fef92903ad27836487ca6.tar.gz |
Fix invalid parent path on group settings page
Diffstat (limited to 'app/views/groups')
-rw-r--r-- | app/views/groups/settings/_advanced.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/settings/_advanced.html.haml b/app/views/groups/settings/_advanced.html.haml index b7c673db705..3814d45929d 100644 --- a/app/views/groups/settings/_advanced.html.haml +++ b/app/views/groups/settings/_advanced.html.haml @@ -12,8 +12,8 @@ .group-root-path.input-group-prepend.has-tooltip{ title: group_path(@group), :'data-placement' => 'bottom' } .input-group-text %span>= root_url - - if parent - %strong= parent.full_path + '/' + - if @group.parent + %strong= @group.parent.full_path + '/' = f.hidden_field :parent_id = f.text_field :path, placeholder: 'open-source', class: 'form-control', autofocus: local_assigns[:autofocus] || false, required: true, |