Contain own posts
This commit is contained in:
parent
a17c52a635
commit
ce60dd2de3
@ -13,9 +13,9 @@
|
||||
= render 'shared/feed'
|
||||
|
||||
- if @user.microposts.any?
|
||||
%section.microposts
|
||||
%h2 My Posts #{@user.microposts.count}
|
||||
%ol.microposts
|
||||
= render @microposts
|
||||
= will_paginate @microposts
|
||||
|
||||
.contain
|
||||
%section.microposts
|
||||
%h2 My Posts #{@user.microposts.count}
|
||||
%ol.microposts
|
||||
= render @microposts
|
||||
= will_paginate @microposts
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user