Fix slug using non-existent ID
This commit is contained in:
parent
bcad3d8493
commit
c78a8be664
|
@ -84,7 +84,7 @@ class Podcast
|
||||||
|
|
||||||
public function generateSlug(SluggerInterface $slugger): void
|
public function generateSlug(SluggerInterface $slugger): void
|
||||||
{
|
{
|
||||||
$this->slug = $this->id . '-' . $slugger->slug($this->name)->lower();
|
$this->slug = $slugger->slug($this->name)->lower();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue