add hilighting to mod queue

This commit is contained in:
albert
2013-02-22 15:47:36 -05:00
parent 85a832cb5d
commit 26b5f3091c
5 changed files with 41 additions and 4 deletions

View File

@@ -426,6 +426,10 @@ class Post < ActiveRecord::Base
tag_string =~ /(?:^| )#{tag}(?:$| )/
end
def has_dup_tag?
has_tag?("duplicate") ? true : false
end
def tag_categories
@tag_categories ||= Tag.categories_for(tag_array)
end