From 8107f64eece72ae961206086aef421fc5d06f83f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Miko=C5=82ajczak?= Date: Fri, 1 Jun 2018 17:59:53 +0200 Subject: [PATCH] Follow/Unfollow button in followers/ing lists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Mikołajczak --- resources/views/profile/followers.blade.php | 8 ++++---- resources/views/profile/following.blade.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/resources/views/profile/followers.blade.php b/resources/views/profile/followers.blade.php index 7bb558678..8fd90f215 100644 --- a/resources/views/profile/followers.blade.php +++ b/resources/views/profile/followers.blade.php @@ -57,12 +57,12 @@ {{$user->name}} @if(Auth::check() && Auth::id() != $user->user_id) - @if($user->followedBy(Auth::user()->profile) == false) + @if ($user->followedBy(Auth::user()->profile) == true) - @else @@ -70,7 +70,7 @@ @endif diff --git a/resources/views/profile/following.blade.php b/resources/views/profile/following.blade.php index 9f2c1b89f..56a372963 100644 --- a/resources/views/profile/following.blade.php +++ b/resources/views/profile/following.blade.php @@ -57,12 +57,12 @@ {{$user->name}} @if(Auth::check() && Auth::id() != $user->user_id) - @if($user->followedBy(Auth::user()->profile) == false) + @if ($user->followedBy(Auth::user()->profile) == true) - @else @@ -70,7 +70,7 @@ @endif