public function single($gameTitle)
 {
     $game = Game::find($gameTitle);
     return view('SingleProduct')->with(array('game' => $game));
 }
Ejemplo n.º 2
0
 public function persoJeu12342()
 {
     foreach (Game::find(12342)->characters() as $ch) {
         echo $ch->id . '. ' . $ch->name . ' : ' . $ch->deck . "\n";
     }
 }