Skip to content

Commit 04b40ba

Browse files
committed
minor #22248 [Webhook] Fix usage of .php extension instead of .xml (tcoch)
This PR was merged into the 8.0 branch. Discussion ---------- [Webhook] Fix usage of .php extension instead of .xml Fix usage of `.php` extension instead of `.xml` Commits ------- ab4bf9d Fix usage of .php extension instead of .xml
2 parents 437438a + ab4bf9d commit 04b40ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

webhook.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ can customize this prefix in your routing configuration:
4747
4848
# config/routes/webhook.yaml
4949
webhook:
50-
resource: '@FrameworkBundle/Resources/config/routing/webhook.xml'
50+
resource: '@FrameworkBundle/Resources/config/routing/webhook.php'
5151
prefix: /webhook # customize as needed
5252
5353
.. code-block:: php
@@ -56,7 +56,7 @@ can customize this prefix in your routing configuration:
5656
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
5757
5858
return static function (RoutingConfigurator $routes): void {
59-
$routes->import('@FrameworkBundle/Resources/config/routing/webhook.xml')
59+
$routes->import('@FrameworkBundle/Resources/config/routing/webhook.php')
6060
->prefix('/webhook');
6161
};
6262

0 commit comments

Comments
 (0)