diff --git a/app/controllers/deviceController.php b/app/controllers/deviceController.php index 75c3b00..43ce0d0 100644 --- a/app/controllers/deviceController.php +++ b/app/controllers/deviceController.php @@ -20,6 +20,6 @@ if (!empty ($_POST)){ $deviceManager = new DeviceManager (); $deviceManager->edit ($_POST['deviceId'], array ('command' => $_POST['deviceCommand'])); } - //header('Location: ./'); - //die(); + header('Location: ./device'); + die(); }