コード例 #1
0
 /**
  * Display a list of all reports booths.
  *
  * @param  Request  $request
  * @return Response
  */
 public function index(Request $request)
 {
     return view('reports.index', ['booths' => $this->booths->boothReports()]);
 }
コード例 #2
0
 /**
  * Display a list of all available booths.
  *
  * @param  Request  $request
  * @return Response
  */
 public function index(Request $request)
 {
     return view('available.index', ['booths' => $this->booths->avaialableBooths()]);
 }
コード例 #3
0
 /**
  * Display a list of all of the user's booths.
  *
  * @param  Request  $request
  * @return Response
  */
 public function index(Request $request)
 {
     return view('booths.index', ['booths' => $this->booths->forUser($request->user())]);
 }