Update LayoutController.php