tags: add general?, character?, copyright?, artist?, meta?, empty? helper methods.
This commit is contained in:
@@ -34,7 +34,7 @@ module PostSets
|
||||
end
|
||||
|
||||
def artist
|
||||
return nil unless tag.present? && tag.category == Tag.categories.artist
|
||||
return nil unless tag.present? && tag.artist?
|
||||
return nil unless tag.artist.present? && !tag.artist.is_deleted?
|
||||
tag.artist
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user