Apply SpaceAroundErbTag ERB Lint rule
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
<strong>
|
||||
<%= t("shared.suggest.#{resource_name}.found",
|
||||
count: @resources.count,
|
||||
query: @search_terms)%>
|
||||
query: @search_terms) %>
|
||||
</strong>
|
||||
</p>
|
||||
|
||||
<ul>
|
||||
<% @resources.limit(@limit).each do |resource| %>
|
||||
<li><%= link_to resource.title, @resource_path_method.present? ? send(@resource_path_method, resource) : resource %></li>
|
||||
<li><%= link_to resource.title, @resource_path_method.present? ? send(@resource_path_method, resource) : resource %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
limit: @limit) %>
|
||||
</strong>
|
||||
<%= link_to t("shared.suggest.#{resource_name}.see_all"),
|
||||
polymorphic_url(resource_model, search: @search_terms)%>
|
||||
polymorphic_url(resource_model, search: @search_terms) %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user