app/views/styleus/_component_index.html.erb in styleus-0.0.11 vs app/views/styleus/_component_index.html.erb in styleus-0.0.12
- old
+ new
@@ -1,10 +1,10 @@
<% unless components.empty? %>
<nav class="__component_index">
<%= content_tag 'h3', headline if headline %>
<ul>
<%= content_tag_for(:li, components) do |component| %>
- <%= link_to component.headline, anchor: component.id %>
+ <%= link_to component.to_s, anchor: component.id %>
<% end %>
</ul>
</nav>
<% end %>
\ No newline at end of file