Made some progress
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
class Status < ActiveRecord::Base
|
||||
belongs_to :account, inverse_of: :statuses
|
||||
|
||||
after_create do
|
||||
self.account.stream_entries.create!(activity: self)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user