Fix unfollows

This commit is contained in:
Eugen Rochko
2016-03-16 21:14:39 +01:00
parent 9cb690c706
commit 086d487145
3 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,7 @@ class Favourite < ActiveRecord::Base
belongs_to :account, inverse_of: :favourites
belongs_to :status, inverse_of: :favourites
has_one :stream_entry, as: :activity, dependent: :destroy
has_one :stream_entry, as: :activity
def verb
:favorite