added share links, moved image resize back to notice banner style

This commit is contained in:
albert
2012-03-30 14:28:46 -04:00
parent 0a88c1fb8a
commit 1ef7ef49a5
9 changed files with 5574 additions and 65 deletions

View File

@@ -215,6 +215,10 @@ class Post < ActiveRecord::Base
image_height
end
end
def resize_percentage
100 * large_image_width.to_f / image_width.to_f
end
end
module ApprovalMethods