Initial Commit
This commit is contained in:
35
local/modules/InvoiceRef/Config/routing.xml
Normal file
35
local/modules/InvoiceRef/Config/routing.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?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">
|
||||
|
||||
<!--
|
||||
|
||||
if a /admin/module/invoiceref/ route is provided, a "Configuration" button will be displayed
|
||||
for the module in the module list. Clicking this button will invoke this route.
|
||||
|
||||
<route id="my_route_id" path="/admin/module/invoiceref">
|
||||
<default key="_controller">InvoiceRef\Full\Class\Name\Of\YourConfigurationController::methodName</default>
|
||||
</route>
|
||||
|
||||
<route id="my_route_id" path="/admin/module/invoiceref/route-name">
|
||||
<default key="_controller">InvoiceRef\Full\Class\Name\Of\YourAdminController::methodName</default>
|
||||
</route>
|
||||
|
||||
<route id="my_route_id" path="/my/route/name">
|
||||
<default key="_controller">InvoiceRef\Full\Class\Name\Of\YourOtherController::methodName</default>
|
||||
</route>
|
||||
|
||||
...add as many routes as required.
|
||||
|
||||
<route>
|
||||
...
|
||||
</route>
|
||||
-->
|
||||
|
||||
<route id="invoiceRef.configuration" path="/admin/module/InvoiceRef/configure" methods="post">
|
||||
<default key="_controller">InvoiceRef\Controller\ConfigurationController::configureAction</default>
|
||||
</route>
|
||||
|
||||
</routes>
|
||||
Reference in New Issue
Block a user