public function viewUpdateConcours()
 {
     if (!isset($_REQUEST['id'])) {
         return call('pages', 'error');
     }
     //we use the given id to get the right post
     $concours = Concours::find($_REQUEST['id']);
     $lot = Lot::find($_REQUEST['id']);
     echo $lot->name;
     require_once 'views/concours/update.php';
 }
 /**
  * Remove the specified lot from storage (global UI implementation).
  *
  * @param  int  $id
  * @return Response
  */
 public function delete($id)
 {
     //Delete the lot
     $lot = Lot::find($id);
     $lot->delete();
     // redirect
     return Redirect::route('lot.index')->with('message', trans('messages.success-deleting-lot'));
 }