diff options
author | Camil Staps | 2015-02-20 22:28:37 +0100 |
---|---|---|
committer | Camil Staps | 2015-02-20 22:28:37 +0100 |
commit | 70220e8f3ba16e2c2be95cdb2e0fa11b2c343c64 (patch) | |
tree | 34bade502bf292e2f5b138897633fb7f37f6b03b /src/routes.php | |
parent | Added basic laravel package (diff) |
added migrations, created basic app relying on dingo
Diffstat (limited to 'src/routes.php')
-rw-r--r-- | src/routes.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/routes.php b/src/routes.php new file mode 100644 index 0000000..f40b16b --- /dev/null +++ b/src/routes.php @@ -0,0 +1,8 @@ +<?php +Route::get('users', function(){ + return 'hello world'; +}); + +Route::api('v1', function () { + Route::get('users/{id}', 'CamilStaps\BotleaguesApi\UploadController@show'); +});
\ No newline at end of file |