Which is valid way in laravel 5.7 to run several urls on the same control action, like
Route::get('about', array(
'as' => 'page-about',
'uses' => 'PageController@page_content'
))->AdditiveParameter('about');
Route::get('security', array(
'as' => 'page-security',
'uses' => 'PageController@page_content'
))->AdditiveParameter('security');
and In PageController page_content action have 1 required parameter ?
Thanks!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire