From 71454e6376f3c0c61b910ffb20097097a9df65ac Mon Sep 17 00:00:00 2001 From: jsalisbury Date: Tue, 29 Nov 2016 22:56:14 -0500 Subject: [PATCH] can view rules by category and add a new rule via post. --- api/config.php | 9 +++++++-- api/index.php | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/api/config.php b/api/config.php index c07ab83..04a42f5 100644 --- a/api/config.php +++ b/api/config.php @@ -1,4 +1,9 @@ [ + 'displayErrorDetails' => true, + 'addContentLengthHeader' => false + ] +]; + diff --git a/api/index.php b/api/index.php index ee8530e..3bae386 100644 --- a/api/index.php +++ b/api/index.php @@ -12,6 +12,7 @@ * Routes */ require './routes/category.php'; +require './routes/rules.php'; // Run App $app->run(); \ No newline at end of file