basic lightbox support

This commit is contained in:
Sam Saffron
2013-02-19 17:57:14 +11:00
parent 14c0b96d55
commit d9531d94d5
15 changed files with 191 additions and 44 deletions

View File

@@ -14,12 +14,10 @@ class Post < ActiveRecord::Base
FLAG_THRESHOLD_REACHED_AGAIN = 2
end
versioned
rate_limit
acts_as_paranoid
after_recover :update_flagged_posts_count
after_destroy :update_flagged_posts_count