removed small image support

This commit is contained in:
albert
2012-03-13 18:28:32 -04:00
parent 938541c98f
commit 7269ec0076
27 changed files with 17 additions and 205 deletions

View File

@@ -27,13 +27,7 @@
<% @posts.each do |post| %>
<article id="post-<%= post.id %>">
<aside>
<% if post.is_image? %>
<%= link_to(image_tag(post.medium_file_url), post_path(post)) %>
<% elsif post.is_flash? %>
<div class="text-post-medium">Flash</div>
<% else %>
<div class="text-post-medium">Download</div>
<% end %>
<%= link_to(image_tag(post.preview_file_url), post_path(post)) %>
</aside>
<section>