I am trying to create a catchall url that starts with the prefix "angular". How do I do this?
I tried the following but does not work:
Route::group(['prefix' => 'angular'], function () {
Route::get( '{catchall}', function () {
return "YES!"
} )->where('catchall', '(.*)');
});
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/28Wbsre
via IFTTT
Aucun commentaire:
Enregistrer un commentaire