Merge branch 'master' of https://github.com/r888888888/danbooru
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user