Search Results (for '<%= h @query %>')
Showing <%= @visible_results.size %> of <%= @results.size %> results
<% n = 1 %>
<% @visible_results.each do |result| %>
<% name = result.type == :method ? result.name(true).to_s : result.name.to_s %>
<% path = name.gsub(/(#{Regexp.quote @query})/i, '\1') %>
-
<%= path %>
<% if !result.namespace.root? %>
(<%= result.namespace.path %>)
<% end %>
<% n = n == 2 ? 1 : 2 %>
<% end %>