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) -
+ @csrf - +
@else @@ -70,7 +70,7 @@
@csrf - +
@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) -
+ @csrf - +
@else @@ -70,7 +70,7 @@
@csrf - +
@endif