Example #1
0
 /**
  * Responds to requests to GET /verbs/display
  * Displays a list of all verbs in the database.
  */
 public function getDisplay()
 {
     $verbs = \App\Verb::orderBy('infinitive_it', 'ASC')->get();
     $tenses = \App\Tense::all();
     $conjugations = \App\Conjugation::all();
     // dump($verbs);
     // dump($tenses);
     // dump($conjugations);
     return view('verbs.display')->with(['verbs' => $verbs, 'tenses' => $tenses, 'conjugations' => $conjugations]);
 }