Commit 11452c90 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix 500 error on tree view woth submodule

parent 6d0dcb66
- url = submodule_item.url(@ref) rescue nil
- url = submodule_item.url(@ref) rescue ''
- name = submodule_item.basename
- return unless url
%tr{ class: "tree-item", url: url }
......
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