Sha256: ea7c108b09a02360bf5d2c6091151690312c7854bf85417ca1fe04b3b84f02d0

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

<h1>Recent</h1>
<% view_cache :tag => [:seconds] do %>
  <% if @items.any? %>
    <% @items.each do |item| %>
      <h3><%= item.name %></h3>
      <p><%= item.description %></p>
    <% end %>
  <% else  %>
    <h3>Nothing found</h3>
  <% end  %>
<% end %>

<%= render :partial => 'shared/related' %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
interlock-1.4 test/integration/app/app/views/items/recent.rhtml
interlock-1.0 test/integration/app/app/views/items/recent.html.erb
interlock-1.1 test/integration/app/app/views/items/recent.rhtml
interlock-1.2 test/integration/app/app/views/items/recent.rhtml
interlock-1.3 test/integration/app/app/views/items/recent.rhtml