Fix 500 error on tree view woth submodule
This commit is contained in:
parent
6d0dcb6614
commit
11452c903f
|
@ -1,4 +1,4 @@
|
||||||
- url = submodule_item.url(@ref) rescue nil
|
- url = submodule_item.url(@ref) rescue ''
|
||||||
- name = submodule_item.basename
|
- name = submodule_item.basename
|
||||||
- return unless url
|
- return unless url
|
||||||
%tr{ class: "tree-item", url: url }
|
%tr{ class: "tree-item", url: url }
|
||||||
|
|
Loading…
Reference in a new issue