This commit is contained in:
Toks
2013-08-09 13:37:36 -04:00
2 changed files with 3 additions and 1 deletions

View File

@@ -154,7 +154,7 @@ class Post < ActiveRecord::Base
module ImageMethods
def twitter_card_supported?
file_size <= 1.megabyte && image_width.to_i >= 280 && image_height.to_i >= 150
image_width.to_i >= 280 && image_height.to_i >= 150
end
def has_large?