fix searches colorization

This commit is contained in:
r888888888
2015-11-10 11:34:18 -08:00
parent 7c7f92d1b2
commit 7e14aeb8b2

View File

@@ -11,7 +11,7 @@
</thead> </thead>
<tbody> <tbody>
<% @search_service.each_search do |tags, count| %> <% @search_service.each_search do |tags, count| %>
<tr class="category-#{Tag.category_for(tags)}"> <tr class="category-<%= Tag.category_for(tags) %>">
<td><%= link_to tags, posts_path(:tags => tags) %></td> <td><%= link_to tags, posts_path(:tags => tags) %></td>
<td style="text-align: right;"><%= count.to_i %></td> <td style="text-align: right;"><%= count.to_i %></td>
</tr> </tr>