Include followed profile posts in feed
This commit is contained in:
parent
09b9d7ff22
commit
57498b7a0e
@ -122,7 +122,7 @@ class User < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def feed
|
||||
microposts
|
||||
Micropost.where("micropostable_id IN (?) OR micropostable_id = ?", following_ids, id)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user