Skip to content

Commit

Permalink
Another fix for routing
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Aug 5, 2024
1 parent 1a66787 commit 0425625
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion config/shop_ajax_routing.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;

return static function (RoutingConfigurator $routes): void {
$routes->add('webgriffe_sylius_pagolight_plugin_payment_status', '/payment/{paymentId}/status')
$routes->add('webgriffe_sylius_pagolight_plugin_payment_status', '/payment/{paymentId}/pagolight-status')
->controller(['webgriffe_sylius_pagolight.controller.payment', 'statusAction'])
->methods(['GET'])
->requirements(['paymentId' => '\d+'])
Expand Down
1 change: 0 additions & 1 deletion public/poll_payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@

checkForCapturedPayment()
})();

0 comments on commit 0425625

Please sign in to comment.