aboutsummaryrefslogtreecommitdiff
path: root/app/Routes.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-06-19 23:12:35 -0400
committerThedro Neely <thedroneely@gmail.com>2020-06-19 23:42:38 -0400
commit24a400e9ba83bcbfe6e65961e73e0d2cd2ee382f (patch)
tree73cd5ed530fb1ee563689b8c7c69eeb1dfa15a72 /app/Routes.php
parent597f7d5bb024f09278df7da86676ae537337785a (diff)
downloadthedroneely.com-24a400e9ba83bcbfe6e65961e73e0d2cd2ee382f.tar.gz
thedroneely.com-24a400e9ba83bcbfe6e65961e73e0d2cd2ee382f.tar.bz2
thedroneely.com-24a400e9ba83bcbfe6e65961e73e0d2cd2ee382f.zip
app/controllers/api: Add cache controller
Diffstat (limited to 'app/Routes.php')
-rw-r--r--app/Routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Routes.php b/app/Routes.php
index 05edf2f..3088e75 100644
--- a/app/Routes.php
+++ b/app/Routes.php
@@ -2,7 +2,6 @@
/**
* Public routes
*/
-
$router->get('', '../app/controllers/index.controller.php');
$router->get('contact', '../app/controllers/contact.controller.php');
@@ -25,5 +24,6 @@ $router->post('contact', '../app/controllers/contact.controller.php');
/**
* Api routes
*/
-
$router->post('api/v1/thumbnails', '../app/controllers/api/thumbnails.controller.php');
+
+$router->post('api/v1/cache', '../app/controllers/api/cache.controller.php');