aboutsummaryrefslogtreecommitdiff
path: root/app/Routes.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2018-08-30 04:30:53 -0400
committerThedro Neely <thedroneely@gmail.com>2018-08-30 04:30:53 -0400
commit2bdcd9d9283b44e7c35822aa1317013928006fd8 (patch)
treeca2bf097e4dfcfdabba36a5cb2643560ab03b926 /app/Routes.php
downloadthedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.tar.gz
thedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.tar.bz2
thedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.zip
Initialize Repo: First Commit
Diffstat (limited to 'app/Routes.php')
-rw-r--r--app/Routes.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Routes.php b/app/Routes.php
new file mode 100644
index 0000000..2def144
--- /dev/null
+++ b/app/Routes.php
@@ -0,0 +1,15 @@
+<?php
+
+/* public routes */
+
+$router->get('', '../app/controllers/index.controller.php');
+
+$router->get('contact', '../app/controllers/contact.controller.php');
+
+
+$router->head('', '../app/controllers/index.controller.php');
+
+$router->head('contact', '../app/controllers/contact.controller.php');
+
+
+$router->post('?sent', '../app/controllers/mail.controller.php');