Skip to content

Commit

Permalink
news items shouldn't be here anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Mar 11, 2010
1 parent 641d193 commit c23635b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 59 deletions.
14 changes: 0 additions & 14 deletions test/fixtures/news_items.yml

This file was deleted.

33 changes: 0 additions & 33 deletions test/unit/news_items_test.rb

This file was deleted.

13 changes: 1 addition & 12 deletions themes/hemingway/views/layouts/application.html.erb
Expand Up @@ -20,18 +20,7 @@
<div id="ancillary">
<div class="inside">
<div class="block first" style='margin: 0;'>
<h2>Recent Posts</h2>
<% if NewsItem.latest.empty? %>
<p>No news posts yet</p>
<% else %>
<ul>
<% NewsItem.latest.each do |item| %>
<li>
<%= link_to item.title, news_item_url(item) %>
</li>
<% end %>
</ul>
<% end %>

</div>
<div class="block pages">
<h2>
Expand Down

0 comments on commit c23635b

Please sign in to comment.