@ -37,8 +37,8 @@ class User extends Model
public function getGravatarAttribute()
{
// $hash = md5(strtolower(trim($this->attributes['email'])));
return '/images/Avatar.jpg';//.$hash;
$hash = md5(strtolower(trim($this->attributes['email'])));
return "https://secure.gravatar.com/avatar/".$hash;
}
public function isAdmin()