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