دانلود فیلم جدید Part 24 ½ – Fixing a Slug Bug [How to Build a Blog with Laravel Series]

Part 24 ½ – Fixing a Slug Bug [How to Build a Blog with Laravel Series] تماشای آنلاین و دانلود با لینک مستقیم برترین کیلیپ ها و فیلم ها
Ok, so we had a small bug in our last video. I thought we were done with the slugs, but as a helpful commenter pointed out, if you try to edit a post and save it without changing the slug, then you will get an error saying that the slug is not unique.

When I thought about this for a second, it made sense. We take the same slug and then check if it's unique. Of course it is not unique because it exists in our current post. So it will always turn an error unless you change the slug every time.

Today's video

 دانلود فیلم