Sha256: 9546872658824397a5377e30e7070ccdd722f10847f8d5196f148c1e68410663

Contents?: true

Size: 455 Bytes

Versions: 5

Compression:

Stored size: 455 Bytes

Contents

<% if service_name == 'best_bets' %>
    <%= searcher.results.first  %>
<% elsif service_name == 'spelling_suggestion' %>
    <%= searcher.spelling_suggestion %>
<% elsif service_name == 'related_topics' %>
    <%# searcher.related_topics.each do |topic| %>
        <%# topic %>
    <%# end %>
    <%= searcher.related_topics %>
<% elsif service_name == 'topic_snippet' %>
    <%= searcher.topic_snippet %>
<% else %>
    <%= searcher.results %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
quick_search-core-0.2.0 app/views/quick_search/search/_xhr_response.json.erb
quick_search-core-0.1.1 app/views/quick_search/search/_xhr_response.json.erb
quick_search-core-0.1.0 app/views/quick_search/search/_xhr_response.json.erb
quick_search-core-0.0.1 app/views/quick_search/search/_xhr_response.json.erb
quick_search-core-0.0.1.test app/views/quick_search/search/_xhr_response.json.erb