removed small image support
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user