mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
3.2.5
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user