diff --git a/app/views/users/home.html.haml b/app/views/users/home.html.haml index 42642c9b..2411ac9b 100644 --- a/app/views/users/home.html.haml +++ b/app/views/users/home.html.haml @@ -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