diff --git a/app/views/refs/_submodule_item.html.haml b/app/views/refs/_submodule_item.html.haml index fc32c37b9a40c4dbe43d0530a7ef5f90c69af61d..6db49310a086100a0ba800cbec31b208b3866a97 100644 --- a/app/views/refs/_submodule_item.html.haml +++ b/app/views/refs/_submodule_item.html.haml @@ -1,4 +1,4 @@ -- url = content.url(@ref) +- url = content.url(@ref) rescue nil - name = content.basename - return unless url %tr{ :class => "tree-item", :url => url }