diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-06 17:36:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 17:36:11 +0100 |
commit | 73be8f38c115c279e3d3961b98bd2b82b9706b05 (patch) | |
tree | d9b479431676c16580d5e1fa3784cca92d768671 /app/models/concerns | |
parent | 155cf126807ab25da4d0e5da55b2d598c981e2ab (diff) |
Add profile directory (#9427)
Fix #5578
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/account_associations.rb | 3 | ||||
-rw-r--r-- | app/models/concerns/account_counters.rb | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/models/concerns/account_associations.rb b/app/models/concerns/account_associations.rb index 0f7482fa6..ae50860ed 100644 --- a/app/models/concerns/account_associations.rb +++ b/app/models/concerns/account_associations.rb @@ -49,5 +49,8 @@ module AccountAssociations # Account migrations belongs_to :moved_to_account, class_name: 'Account', optional: true + + # Hashtags + has_and_belongs_to_many :tags end end diff --git a/app/models/concerns/account_counters.rb b/app/models/concerns/account_counters.rb index fa3ec9a3d..3581df8dd 100644 --- a/app/models/concerns/account_counters.rb +++ b/app/models/concerns/account_counters.rb @@ -16,6 +16,7 @@ module AccountCounters :followers_count=, :increment_count!, :decrement_count!, + :last_status_at, to: :account_stat def account_stat |