diff --git a/layouts/listing.html b/layouts/listing.html index ccbb7dd..82baf13 100644 --- a/layouts/listing.html +++ b/layouts/listing.html @@ -12,7 +12,7 @@ <%= render 'header' %>
<% sorted_articles[0..9].each do |article| %> -

<%= article.attributes[:title] %>

+

<%= article[:title] %>

<% end %>
<%= render 'footer' %>