Commit 20a6a7eb39a83ab02eefd9324f4820b2c6e8929f
1 parent
bf580965
Exists in
master
and in
22 other branches
Fixing search container class
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/search/_display_results.rhtml
... | ... | @@ -12,7 +12,7 @@ |
12 | 12 | <% end %> |
13 | 13 | <% end %> |
14 | 14 | |
15 | - <div class="search-results-innerbox search-results-type-<%= name.to_s %> <%= 'common-profile-list-block' if [:enterprises, :people, :communities].include?(name) %>"> | |
15 | + <div class="search-results-innerbox search-results-type-<%= name.to_s.singularize %> <%= 'common-profile-list-block' if [:enterprises, :people, :communities].include?(name) %>"> | |
16 | 16 | <ul> |
17 | 17 | <% search[:results].each do |hit| %> |
18 | 18 | <% partial = partial_for_class(hit.class, params[:display]) %> | ... | ... |