modified: SRC/app/Http/Controllers/ReferentController.php

modified:   SRC/public/js/ListeOeuvre.js
	modified:   SRC/resources/views/referent.blade.php
This commit is contained in:
Malibu
2015-03-05 19:17:18 +01:00
parent 49c5b2b1d1
commit 3613ef325f
3 changed files with 40 additions and 6 deletions

View File

@ -161,7 +161,13 @@ class ReferentController extends Controller {
}
public function addItemsToList() {
;
$idListeOeuvre = Session::get('listeoeuvre_current');
$ListeOeuvre = ListeOeuvre::find($idListeOeuvre);
$oeuvresToAdd = Input::get('oeuvres');
$ListeOeuvre->oeuvres()->attach($oeuvresToAdd);
return Response::json(array());
}
public function updateAssoGames() {