Start of service display
This commit is contained in:
@@ -23,6 +23,9 @@ class Site extends Model
|
||||
|
||||
public function language()
|
||||
{
|
||||
if (! $this->id)
|
||||
return Language::find(1);
|
||||
|
||||
return $this->belongsTo(Language::class);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user