Update sub_count extractor

This commit is contained in:
Omar Roth
2019-09-12 21:09:23 -04:00
parent 50d793e49b
commit b1fc80b79a
7 changed files with 16 additions and 34 deletions

View File

@@ -33,7 +33,7 @@
<div class="h-box">
<% ucid = channel.ucid %>
<% author = channel.author %>
<% sub_count_text = channel.sub_count.format %>
<% sub_count_text = number_to_short_text(channel.sub_count) %>
<%= rendered "components/subscribe_widget" %>
</div>