BigW Consortium Gitlab

Commit e78e0672 by Alex Denisov

Render empty string instead of nil

parent 820e8466
- 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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment