diff options
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 e683e2959d1..4b83988e8bb 100644 --- a/app/helpers/submodule_helper.rb +++ b/app/helpers/submodule_helper.rb @@ -81,7 +81,7 @@ module SubmoduleHelper end def relative_self_links(relative_path, commit, project) - relative_path.rstrip! + relative_path = relative_path.rstrip absolute_project_path = "/" + project.full_path # Resolve `relative_path` to target path |