diff --git a/app/controllers/deviceController.php b/app/controllers/deviceController.php index bb000b2..035b2ab 100644 --- a/app/controllers/deviceController.php +++ b/app/controllers/deviceController.php @@ -18,4 +18,6 @@ if (!empty ($_POST)){ $deviceManager = new DeviceManager (); $deviceManager->edit ($_POST['deviceId'], array ('command' => $_POST['deviceCommand'])); } + header('Location: ./'); + die(); } diff --git a/app/views/templates/device.phtml b/app/views/templates/device.phtml index bdc5a9c..011b62d 100644 --- a/app/views/templates/device.phtml +++ b/app/views/templates/device.phtml @@ -21,10 +21,10 @@ ?>
- +
- +
Icon# Name Firmware Mac