Fix tag usage display on admin dashboard

pull/585/head^2
Eugen Rochko 2018-07-16 19:51:16 +02:00 committed by GitHub
parent 0d13e30ad2
commit 8241f162df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -146,4 +146,4 @@
- @trending_hashtags.each do |tag| - @trending_hashtags.each do |tag|
%li %li
= link_to "##{tag.name}", web_url("timelines/tag/#{tag.name}") = link_to "##{tag.name}", web_url("timelines/tag/#{tag.name}")
%span.pull-right= number_with_delimiter(tag.history[0]['accounts'].to_i) %span.pull-right= number_with_delimiter(tag.history[0][:accounts].to_i)