The start of something beautiful
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||
|
||||
<route id="_preview_error" path="/{code}.{_format}">
|
||||
<default key="_controller">error_controller::preview</default>
|
||||
<default key="_format">html</default>
|
||||
<requirement key="code">\d+</requirement>
|
||||
</route>
|
||||
</routes>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||
|
||||
<route id="_webhook_controller" path="/{type}">
|
||||
<default key="_controller">webhook.controller::handle</default>
|
||||
<requirement key="type">.+</requirement>
|
||||
</route>
|
||||
</routes>
|
||||
Reference in New Issue
Block a user