views: remove tag size indicator bars from /tags.

Remove tag size indicator bars. These bars don't play nicely with dark
mode and aren't all that useful to begin with.
This commit is contained in:
evazion
2019-09-19 04:41:00 -05:00
parent 828b225dac
commit ca4cba7635
3 changed files with 1 additions and 13 deletions

View File

@@ -91,12 +91,6 @@ class Tag < ApplicationRecord
extend ActiveSupport::Concern
module ClassMethods
def highest_post_count
Cache.get("highest-post-count", 4.hours) do
select("post_count").order("post_count DESC").first.post_count
end
end
def increment_post_counts(tag_names)
Tag.where(:name => tag_names).update_all("post_count = post_count + 1")
end