0
0
Fork 0

Send Salmon interactions

This commit is contained in:
Eugen Rochko 2016-02-24 12:57:29 +01:00
parent 10eb47a33e
commit fa7868675d
15 changed files with 118 additions and 25 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
has_one :stream_entry, as: :activity, dependent: :destroy
def verb
:favorite