Explorar el Código

Update ProfileController

Daniel Supernault hace 6 años
padre
commit
853a4bc7a5
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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;
         }