diff --git a/src/Entity/Podcast.php b/src/Entity/Podcast.php index d64a96e..83dd65f 100644 --- a/src/Entity/Podcast.php +++ b/src/Entity/Podcast.php @@ -84,7 +84,7 @@ class Podcast public function generateSlug(SluggerInterface $slugger): void { - $this->slug = $this->id . '-' . $slugger->slug($this->name)->lower(); + $this->slug = $slugger->slug($this->name)->lower(); } /**