diff options
author | Stan Hu <stanhu@gmail.com> | 2015-04-23 07:42:28 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-04-23 07:42:28 -0700 |
commit | 9a2e3d3d8196afefe32b099162b17f7441de8fb1 (patch) | |
tree | d37a97156c13d15eb85dbffce6a7a2c3de778767 /app/helpers/submodule_helper.rb | |
parent | e3682122269d3c1a291de3c8d76d45f989a0ef97 (diff) | |
download | gitlab-ce-9a2e3d3d8196afefe32b099162b17f7441de8fb1.tar.gz |
Fix broken file browsing with relative submodule in personal projects
Closes https://github.com/gitlabhq/gitlabhq/issues/7554
Diffstat (limited to 'app/helpers/submodule_helper.rb')
-rw-r--r-- | app/helpers/submodule_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/submodule_helper.rb b/app/helpers/submodule_helper.rb index 9954617c762..e13d4eaf101 100644 --- a/app/helpers/submodule_helper.rb +++ b/app/helpers/submodule_helper.rb @@ -63,7 +63,7 @@ module SubmoduleHelper namespace = components.pop.gsub(/^\.\.$/, '') if namespace.empty? - namespace = @project.group.path + namespace = @project.namespace.name end [ |