skip to Main Content

Middleware to convert IDs to slug – SEO

I've got 90% of my site finished, up until now it's been passing round model IDs from page to page as such: http://website.domain/2/content/3 I'm using models bound within the web.php like so: Route::get('{post}/content/{comment}', 'ContentController@index'); This is working fine. I would…

VIEW QUESTION
Back To Top
Search