Laracasts is packed full with over 1,000 lessons just like this one.
Sign up to get full access or
to your account and sit back.
Published On Sep. 5th 2017
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.