summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-21 02:23:23 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-21 02:23:23 -0800
commit96ba1708ac9d724d1d941749b3a4d457b8fa93a4 (patch)
tree214a044b77ff365709f0e3bfa2f38064ce26263e /app
parent820e84662f429f688e519641f5fadfdf8e845611 (diff)
parente78e067204dbb394a4eab4fe706276c489b05f63 (diff)
downloadgitlab-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.haml2
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"