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