diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-29 21:28:21 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-29 21:28:21 +0200 |
commit | 927333f4f89403c5a6a2b421065112e517d88193 (patch) | |
tree | 1767e142ee9263b5b6968b5b43228ee0889232c5 /app/models/favourite.rb | |
parent | e4aebad35afae12f4b7503fb6c3783fcd3809761 (diff) |
Improve code style
Diffstat (limited to 'app/models/favourite.rb')
-rw-r--r-- | app/models/favourite.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/favourite.rb b/app/models/favourite.rb index e248ae561..3681181e5 100644 --- a/app/models/favourite.rb +++ b/app/models/favourite.rb @@ -11,7 +11,7 @@ class Favourite < ApplicationRecord end def title - "#{self.account.acct} favourited a status by #{self.status.account.acct}" + "#{account.acct} favourited a status by #{status.account.acct}" end def object_type @@ -19,7 +19,7 @@ class Favourite < ApplicationRecord end def thread - self.status + status end def target |