Browse Source

Update User model

Daniel Supernault 7 năm trước cách đây
mục cha
commit
ff3925dd1d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/User.php

+ 1 - 1
app/User.php

@@ -34,6 +34,6 @@ class User extends Authenticatable
 
     public function url()
     {
-        return url('/' . $this->username);
+        return url(config('app.url') . '/@' . $this->username);
     }
 }