Send Salmon interactions
This commit is contained in:
parent
10eb47a33e
commit
fa7868675d
15 changed files with 118 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue