This commit is contained in:
Lagacé Mathieu
2020-02-01 13:17:32 -05:00
parent 03cf1c5493
commit baef9a1df0
37 changed files with 1662 additions and 501 deletions

View File

@@ -24,4 +24,9 @@ class Config extends Model
{
return $this->morphMany('App\Log', 'logable');
}
public static function find($name)
{
return Config::where('name',$name)->first();
}
}