aboutsummaryrefslogtreecommitdiff
path: root/src/routes.php
diff options
context:
space:
mode:
authorCamil Staps2015-02-20 22:28:37 +0100
committerCamil Staps2015-02-20 22:28:37 +0100
commit70220e8f3ba16e2c2be95cdb2e0fa11b2c343c64 (patch)
tree34bade502bf292e2f5b138897633fb7f37f6b03b /src/routes.php
parentAdded basic laravel package (diff)
added migrations, created basic app relying on dingo
Diffstat (limited to 'src/routes.php')
-rw-r--r--src/routes.php8
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