TagCategory.header_mapping: fix incorrect comment.
This commit is contained in:
@@ -29,7 +29,7 @@ class TagCategory
|
|||||||
@@humanized_mapping ||= Hash[Danbooru.config.full_tag_config_info.map {|k,v| [k,v["humanized"]]}]
|
@@humanized_mapping ||= Hash[Danbooru.config.full_tag_config_info.map {|k,v| [k,v["humanized"]]}]
|
||||||
end
|
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
|
def header_mapping
|
||||||
@@header_mapping ||= Hash[Danbooru.config.full_tag_config_info.map {|k,v| [k,v["header"]]}]
|
@@header_mapping ||= Hash[Danbooru.config.full_tag_config_info.map {|k,v| [k,v["header"]]}]
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user