Note there is some funkiness going on with class loadings
Had to create a `feed` and `widget_feed` table even though in this
first version the Widget::Feed includes only uses ActiveModel instead
of ActiveRecord, otherwise some specs failed
We’ll figure it out and clean up 😌
16 lines
281 B
Plaintext
16 lines
281 B
Plaintext
<h1>Feeds</h1>
|
|
|
|
<% @feeds.each do |feed| %>
|
|
|
|
<div>
|
|
<strong>Most active <%= feed.kind %></strong>
|
|
</div>
|
|
|
|
<% feed.items.each do |item| %>
|
|
<div class="<%= item.class.to_s.parameterize('_') %>">
|
|
<%= item.title %>
|
|
</div>
|
|
<br/>
|
|
<% end %>
|
|
|
|
<% end %> |