Browse Source

Update User model

Daniel Supernault 7 years ago
parent
commit
ff3925dd1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/User.php

+ 1 - 1
app/User.php

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