9 lines
286 B
Text
9 lines
286 B
Text
<ul>
|
|
<% @items.each do |item| %>
|
|
<li class="item">
|
|
<%= link_to raw(item.title), item_path(item), :remote => true %>
|
|
<em class="date_published"><%= time_ago_in_words(item.published_at) %></em> <em class="author">by <%= item.author %></em>
|
|
<article></article>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|