diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-21 02:23:23 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-21 02:23:23 -0800 |
commit | 96ba1708ac9d724d1d941749b3a4d457b8fa93a4 (patch) | |
tree | 214a044b77ff365709f0e3bfa2f38064ce26263e /app | |
parent | 820e84662f429f688e519641f5fadfdf8e845611 (diff) | |
parent | e78e067204dbb394a4eab4fe706276c489b05f63 (diff) | |
download | gitlab-ce-96ba1708ac9d724d1d941749b3a4d457b8fa93a4.tar.gz |
Merge pull request #2673 from AlexDenisov/submodule_rendering_bug
Render submodule bugfix
Diffstat (limited to 'app')
-rw-r--r-- | app/views/tree/_submodule_item.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tree/_submodule_item.html.haml b/app/views/tree/_submodule_item.html.haml index b0562fe1b19..092a024afbc 100644 --- a/app/views/tree/_submodule_item.html.haml +++ b/app/views/tree/_submodule_item.html.haml @@ -1,6 +1,6 @@ - url = submodule_item.url(@ref) rescue '' - name = submodule_item.basename -- return unless url +- return '' unless url %tr{ class: "tree-item", url: url } %td.tree-item-file-name = image_tag "submodule.png" |