diff options
Updated the comments and documentation in some controllers
1 files changed, 3 insertions, 0 deletions
| -rw-r--r-- | src/controllers/DashboardController.php | 3 |
diff --git a/src/controllers/DashboardController.php b/src/controllers/DashboardController.php index 80717ca..59c1090 100644 --- a/src/controllers/DashboardController.php +++ b/src/controllers/DashboardController.php @@ -16,6 +16,9 @@ class DashboardController extends BaseController { } public static function post() { + // Forms can only send POST or GET requests. + // EditOfferController doesn't have it's own URI, so we can't send a request. + // We also can't just invoke it, because that means manually changing the server's request method. switch($_POST['_method']) { case 'get': EditOfferController::get(); |
