public static function show($id) { $pokemon = Pokemons::find($id); //$joins = Joins::getJoins($id); $stats = Stats::getStats($id); View::make('Pokemons/:id.html', array('pokemon' => $pokemon, 'stats' => $stats)); }
public static function sandbox() { // Testaa koodiasi täällä $pokemon = Pokemons::find(1); $pokemons = Pokemons::all(); Kint::dump($pokemon); Kint::dump($pokemons); }