From 760977b9f5597c80adc2201c545fca8aa8770dd3 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Thu, 8 Aug 2013 16:47:24 -0700 Subject: [PATCH] remove file size constraint on twitter cards since the large image will always be sent --- app/models/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post.rb b/app/models/post.rb index 650299a07..8038b5578 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -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?