コード例 #1
0
ファイル: ChoiceController.php プロジェクト: jadinvt/cyoj
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $subTitle = "Choices";
     $choices = \App\Choice::all();
     return view('choice.index', compact('subTitle', 'choices'));
     //
 }