瀏覽代碼

Take username on user and not on profile

Whaxion 7 年之前
父節點
當前提交
20a29acacf
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      resources/views/admin/users/home.blade.php

+ 2 - 2
resources/views/admin/users/home.blade.php

@@ -22,7 +22,7 @@
       <tr>
         <th scope="row">
           <a href="{{$user->url()}}">
-            {{$user->profile->username}}
+            {{$user->username}}
           </a>
         </th>
         <td>{{$user->profile->statuses->count()}}</td>
@@ -48,4 +48,4 @@
       });
     });
   </script>
-@endpush
+@endpush