diff --git a/modules/hotelreservationsystem/controllers/admin/AdminHotelReservationSystemManagementController.php b/modules/hotelreservationsystem/controllers/admin/AdminHotelReservationSystemManagementController.php deleted file mode 100644 index 26ed1be94..000000000 --- a/modules/hotelreservationsystem/controllers/admin/AdminHotelReservationSystemManagementController.php +++ /dev/null @@ -1,28 +0,0 @@ -context->link->getAdminLink('AdminHotelRoomsBooking')); - } -} diff --git a/modules/hotelreservationsystem/hotelreservationsystem.php b/modules/hotelreservationsystem/hotelreservationsystem.php index e1240de49..d109c4a79 100644 --- a/modules/hotelreservationsystem/hotelreservationsystem.php +++ b/modules/hotelreservationsystem/hotelreservationsystem.php @@ -478,6 +478,10 @@ class HotelReservationSystem extends Module public function hookDisplayBackOfficeHeader() { + if (Tools::getValue('controllerUri') == 'AdminHotelReservationSystemManagement') { + Tools::redirectAdmin($this->context->link->getAdminLink('AdminHotelRoomsBooking')); + } + $this->context->controller->addCSS($this->_path.'views/css/admin/css/hotel_admin_tab_logo.css'); }