This commit is contained in:
Toks
2013-04-09 14:08:19 -04:00
parent d3dbca4ccc
commit 4006c9243e
3 changed files with 27 additions and 1 deletions

View File

@@ -459,6 +459,10 @@ class Post < ActiveRecord::Base
typed_tags("artist")
end
def general_tags
typed_tags("general")
end
def typed_tags(name)
@typed_tags ||= {}
@typed_tags[name] ||= begin