Open mabasic opened 3 years ago
Need to add:
Route::get('posts/{slug?}', 'RedirectController@toBook')->where('slug', '.*'); Route::get('lessons/{slug?}', 'RedirectController@toBook')->where('slug', '.*'); Route::get('tutorials/{slug?}', 'RedirectController@toBook')->where('slug', '.*'); Route::get('series/{slug?}', 'RedirectController@toBook')->where('slug', '.*'); Route::get('index/{slug?}', 'RedirectController@toBook')->where('slug', '.*');
This requires implementing regex of sort into routes.
Maybe add this when I implement the router from Phel?
Need to add:
This requires implementing regex of sort into routes.