vendredi 24 juin 2016

Of Laravel 5.2 routing

Current service have not controlling routing. I need route as Route::get('/{path}', 'BaseController@index'), where $path can be 'some/path/like/this', and then I will asking to database is there $path. Route like Route::get('/{path}', 'BaseController@index') doesn't work, it return 404 (this is not DB's blame).




Aucun commentaire:

Enregistrer un commentaire