Commit ccfeddec46444867b7d459c332216a5a3645f608

Authored by Dmitriy Zaporozhets
1 parent 5ac434a6

Ignore invalid submodule entries

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/refs/_submodule_item.html.haml
1 -- url = content.url(@ref) 1 +- url = content.url(@ref) rescue nil
2 - name = content.basename 2 - name = content.basename
3 - return unless url 3 - return unless url
4 %tr{ :class => "tree-item", :url => url } 4 %tr{ :class => "tree-item", :url => url }