Files
domokits/local/modules/ForcePhone/Config/routing.xml

19 lines
925 B
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="forcephone.config" path="/admin/module/forcephone/configure" methods="post">
<default key="_controller">ForcePhone\Controller\ConfigureController::configure</default>
</route>
<route id="forcephone.check_order_phone" path="/forcephone/check/order-phone/{orderId}" methods="get">
<default key="_controller">ForcePhone\Controller\ApiController::checkPhoneOrder</default>
</route>
<route id="forcephone.reformat_phone" path="/forcephone/format-phone/{phone}/{countryId}" methods="get">
<default key="_controller">ForcePhone\Controller\ApiController::reformatPhoneNumber</default>
</route>
</routes>