vendredi 20 décembre 2019

How make Route::resource with page and filter options?

In Laravel 5.8 making backend rest api app with resource defined in routes/api.php, as

Route::group(['middleware' => 'jwt.auth',  'prefix' => 'adminarea', 'as' => 'adminarea.'], function ($router) {
    ...
    Route::resource('skills', 'API\Admin\SkillController');

now on clients part for listing of skills I need to add current_page and filter_name. Can it be done with Route::resource definition ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire