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