28 lines
1.2 KiB
XML
28 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<routes xmlns="http://symfony.com/schema/routing"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
|
|
|
<route id="beds24.configure" path="/admin/beds24/configure">
|
|
<default key="_controller">Beds24\Controller\Back\ConfigurationController::configure</default>
|
|
</route>
|
|
|
|
<route id="beds24.clear_cache" path="/admin/beds24/clear-cache">
|
|
<default key="_controller">Beds24\Controller\Back\ConfigurationController::clearCache</default>
|
|
</route>
|
|
|
|
<route id="beds24.notification" path="/beds24/notify">
|
|
<default key="_controller">Beds24\Controller\Front\NotificationController::notify</default>
|
|
</route>
|
|
|
|
<route id="beds24.search" path="/search-availabilities">
|
|
<default key="_controller">Beds24\Controller\Front\SearchController::searchAll</default>
|
|
</route>
|
|
|
|
<route id="beds24.search_product" path="/search-availability/{productId}">
|
|
<default key="_controller">Beds24\Controller\Front\SearchController::searchProduct</default>
|
|
<requirement key="productId">\d+</requirement>
|
|
</route>
|
|
</routes>
|