diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-03 00:26:00 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-03 00:26:00 +0200 |
commit | 188c6f326b991793239c47751ef45226c0cd8890 (patch) | |
tree | ea0c2b7c4af03b793e1b08152e4b82953a265ea8 /app/models/favourite.rb | |
parent | d74da1a89aef27ed78eb521a86b6412ef00acd0f (diff) |
Making public pages responsive, removing reblogs/favs counts from them
Diffstat (limited to 'app/models/favourite.rb')
-rw-r--r-- | app/models/favourite.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/favourite.rb b/app/models/favourite.rb index 3681181e5..4f9b20942 100644 --- a/app/models/favourite.rb +++ b/app/models/favourite.rb @@ -14,9 +14,7 @@ class Favourite < ApplicationRecord "#{account.acct} favourited a status by #{status.account.acct}" end - def object_type - target.object_type - end + delegate :object_type, to: :target def thread status |