Skip to content

Commit

Permalink
can view rules by category and add a new rule via post.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalisbury committed Nov 30, 2016
1 parent 9b19ac1 commit 71454e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions api/config.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?php

$config['displayErrorDetails'] = true;
$config['addContentLengthHeader'] = false;
$config = [
'settings' => [
'displayErrorDetails' => true,
'addContentLengthHeader' => false
]
];

1 change: 1 addition & 0 deletions api/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* Routes
*/
require './routes/category.php';
require './routes/rules.php';

// Run App
$app->run();

0 comments on commit 71454e6

Please sign in to comment.