Fix tag usage display on admin dashboard

master
Eugen Rochko 6 years ago committed by GitHub
parent 0d13e30ad2
commit 8241f162df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/admin/dashboard/index.html.haml

@ -146,4 +146,4 @@
- @trending_hashtags.each do |tag|
%li
= 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)

Loading…
Cancel
Save