Recettes : BO, rajout de l'ajax
This commit is contained in:
23
local/modules/Agenda/Config/routing.xml
Normal file
23
local/modules/Agenda/Config/routing.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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="agenda.search_product" path="/admin/module/Agenda/search-product">
|
||||
<default key="_controller">Agenda\Controller\RelatedProductController::search</default>
|
||||
</route>
|
||||
|
||||
<route id="agenda.add_product" path="/admin/module/Agenda/add-product/{contentId}">
|
||||
<default key="_controller">Agenda\Controller\RelatedProductController::addProduct</default>
|
||||
<requirement key="contentId">\d+</requirement>
|
||||
</route>
|
||||
|
||||
<route id="agenda.delete_product" path="/admin/module/Agenda/delete-product/{contentId}/{relatedProductId}">
|
||||
<default key="_controller">Agenda\Controller\RelatedProductController::deleteProduct</default>
|
||||
<requirement key="contentId">\d+</requirement>
|
||||
<requirement key="relatedProductId">\d+</requirement>
|
||||
</route>
|
||||
|
||||
<route id="agenda.get_events" path="/agenda/events">
|
||||
<default key="_controller">Agenda\Controller\EventController::getEventsAction</default>
|
||||
</route>
|
||||
</routes>
|
||||
Reference in New Issue
Block a user