Created
January 26, 2015 14:56
-
-
Save kejyun/2f54d67885e7ea788336 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// A nice simple route to show a pokemons name if we can find it using our Service | |
Route::any('/pokemon/{pokemon}', function($pokemon) { | |
return Pokemon::getPokemon($pokemon); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment