diff --git a/app/views/refs/_submodule_item.html.haml b/app/views/refs/_submodule_item.html.haml index fc32c37b9a..6db49310a0 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 }