adds a helper to simplify the way selects and filters are rendered
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<dd class="active"><%= t("admin.comments.index.filters.#{filter}") %></dd>
|
||||
<% else %>
|
||||
<dd><%= link_to t("admin.comments.index.filters.#{filter}"),
|
||||
admin_comments_path(filter: filter) %></dd>
|
||||
current_path_with_query_params(filter: filter) %></dd>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</dl>
|
||||
|
||||
Reference in New Issue
Block a user