Merge pull request #2673 from AlexDenisov/submodule_rendering_bug

Render submodule bugfix
This commit is contained in:
Dmitriy Zaporozhets 2013-01-21 02:23:23 -08:00
commit 96ba1708ac

View file

@ -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"