summaryrefslogtreecommitdiff
path: root/app/Http/routes.php
diff options
context:
space:
mode:
authorCamil Staps2016-01-22 12:01:33 +0100
committerCamil Staps2016-01-22 12:01:33 +0100
commit3a74377e861c1a401f1dffbd595f547e04eb72c8 (patch)
tree505649f58784ed0e318cb46f28777173bcdc6b90 /app/Http/routes.php
Initial commitlumen-app
Diffstat (limited to 'app/Http/routes.php')
-rw-r--r--app/Http/routes.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Http/routes.php b/app/Http/routes.php
new file mode 100644
index 0000000..f2c5b17
--- /dev/null
+++ b/app/Http/routes.php
@@ -0,0 +1,16 @@
+<?php
+
+/*
+|--------------------------------------------------------------------------
+| Application Routes
+|--------------------------------------------------------------------------
+|
+| Here is where you can register all of the routes for an application.
+| It is a breeze. Simply tell Lumen the URIs it should respond to
+| and give it the Closure to call when that URI is requested.
+|
+*/
+
+$app->get('/', function () use ($app) {
+ return $app->version();
+});