added share links, moved image resize back to notice banner style
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user