diff --git a/app/models/account.rb b/app/models/account.rb index 01d45e36c..8530609cb 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -389,7 +389,7 @@ class Account < ApplicationRecord class << self def readonly_attributes - super - %w(statuses_count following_count followers_count) + super - %w(statuses_count following_count followers_count)gs end def domains diff --git a/app/views/admin/accounts/_account.html.haml b/app/views/admin/accounts/_account.html.haml index c81fe1148..a6efcedce 100644 --- a/app/views/admin/accounts/_account.html.haml +++ b/app/views/admin/accounts/_account.html.haml @@ -25,6 +25,6 @@ %td = number_to_human account.statuses_count, strip_insignificant_zeros: true %td - todo + todo %td - todo + todo