Support the ongoing development of →
Installation Configuration Requests
Last updated 1 year ago.

Eh, so basically I went w/ the following

 Route::any('/{id}/{optional?}', 'HomeController@Index', function($id, $optional) {})
 ->where(array('id' => '(\d+)-?([A-Za-z0-9-_]+)?'));

Which isn't what I really wanted since I have to split the id w/ another regex check in the actual controller

Last updated 1 year ago.

Sign in to participate in this thread!


Your banner here too?

G4MR g4mr Joined 10 Feb 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.