* Refactored tag fix code

* Revert quick search open in new window behavior
This commit is contained in:
albert
2013-03-18 09:13:39 -07:00
parent a48ea51f55
commit 177baa9ec7
8 changed files with 93 additions and 10 deletions

View File

@@ -42,7 +42,7 @@ class Tag < ActiveRecord::Base
end
def real_post_count
Post.raw_tag_match(name).count
@real_post_count ||= Post.raw_tag_match(name).count
end
def fix_post_count