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

@@ -2,15 +2,11 @@ module PostsHelper
def resize_image_links(post, user)
links = []
if post.has_medium?
links << link_to("M", post.medium_file_url, :id => "medium-file-link")
end
if post.has_large?
links << link_to("L", post.large_file_url, :id => "large-file-link")
end
if post.has_medium? || post.has_large?
if post.has_large?
links << link_to("O", post.file_url, :id => "original-file-link")
end