TagCategory.header_mapping: fix incorrect comment.

This commit is contained in:
BrokenEagle
2017-11-14 14:22:00 -06:00
committed by evazion
parent 5f39a8b4b2
commit dc5fdf6893

View File

@@ -29,7 +29,7 @@ class TagCategory
@@humanized_mapping ||= Hash[Danbooru.config.full_tag_config_info.map {|k,v| [k,v["humanized"]]}]
end
# Returns a hash mapping for humanized_essential_tag_string (models/post.rb)
# Returns a hash mapping for split_tag_list_html (presenters/tag_set_presenter.rb)
def header_mapping
@@header_mapping ||= Hash[Danbooru.config.full_tag_config_info.map {|k,v| [k,v["header"]]}]
end