update 1.0.7

This commit is contained in:
Sujit Prasad
2016-04-19 19:19:42 +05:30
parent 723ef47e19
commit 5327b0c0da
153 changed files with 20711 additions and 1727 deletions

View File

@@ -36,4 +36,13 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
* @var array
*/
protected $hidden = ['password', 'remember_token'];
public function getProfilePicAttribute($value)
{
if (!$value) {
return \Gravatar::src($this->attributes['email']);
} else {
return asset('lb-faveo/media/profilepic/'.$value);
}
}
}