Back to the Learning

Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

A Thread Should Have a Unique Slug: Part 1

Episode 75 Run Time 7:25

So far we've been using the id of each thread as the URI identifier. However, in many cases, regardless of the app you're building, you may not want to expose your primary keys in this way. Instead, let's switch over to a slug-based approach.

Tags slug

Publish Date: September 5, 2017