feat: prepare core Laravel configuration and tour model
This commit is contained in:
@@ -80,6 +80,7 @@ class Tour extends Model
|
|||||||
public function favorites()
|
public function favorites()
|
||||||
{
|
{
|
||||||
return $this->morphMany(Favorite::class, 'favoritable');
|
return $this->morphMany(Favorite::class, 'favoritable');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function files()
|
public function files()
|
||||||
|
|||||||
@@ -40,3 +40,4 @@ return Application::configure(basePath: dirname(__DIR__))
|
|||||||
//
|
//
|
||||||
})->create();
|
})->create();
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user