diff --git a/SRC/app/Http/Controllers/ReferentController.php b/SRC/app/Http/Controllers/ReferentController.php index acc82b3..83906f5 100755 --- a/SRC/app/Http/Controllers/ReferentController.php +++ b/SRC/app/Http/Controllers/ReferentController.php @@ -140,4 +140,8 @@ class ReferentController extends Controller { return Response::json($res->toArray()); } + public function addItemsToList() { + + } + } diff --git a/SRC/app/Http/routes.php b/SRC/app/Http/routes.php index 0a5d503..2b60826 100644 --- a/SRC/app/Http/routes.php +++ b/SRC/app/Http/routes.php @@ -41,6 +41,7 @@ Route::group(['middleware' => 'auth'], function () Route::get('showListOeuvres/{id}', 'ReferentController@showListeOeuvres'); Route::post('setListOeuvres', 'ReferentController@setListOeuvres'); Route::post('search', 'ReferentController@search'); + Route::post('addItemsToList', 'ReferentController@addItemsToList'); }); Route::group(['middleware' => 'admin'], function () diff --git a/SRC/public/js/ListeOeuvre.js b/SRC/public/js/ListeOeuvre.js index 5288376..2aa5b84 100644 --- a/SRC/public/js/ListeOeuvre.js +++ b/SRC/public/js/ListeOeuvre.js @@ -125,3 +125,9 @@ $('#search_button, #previous, #next').click(function(event) { }); + + + + + +