Contain own posts

This commit is contained in:
Jesse C. Fisher 2023-11-24 04:11:43 +00:00 committed by TheNeedful-DO
parent f9ad8257f2
commit 1cfc23a683

View File

@ -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