Browse Source

Update ProfileController

Daniel Supernault 6 năm trước cách đây
mục cha
commit
853a4bc7a5
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/Http/Controllers/ProfileController.php

+ 2 - 0
app/Http/Controllers/ProfileController.php

@@ -34,6 +34,8 @@ class ProfileController extends Controller
         if ($user->remote_url) {
             $settings = new \StdClass;
             $settings->crawlable = false;
+            $settings->show_profile_follower_count = true;
+            $settings->show_profile_following_count = true;
         } else {
             $settings = User::whereUsername($username)->firstOrFail()->settings;
         }