diff --git a/src/Controller/MainController.php b/src/Controller/MainController.php index 14e8313..21310c0 100644 --- a/src/Controller/MainController.php +++ b/src/Controller/MainController.php @@ -111,12 +111,16 @@ class MainController extends AbstractController } #[Route( - '/{transaction}', + '/{transaction}/{get}', name: 'main_transaction', requirements: [ 'transaction' => '^[A-f0-9]{64}$', ], + defaults: + [ + 'get' => null, + ], methods: [ 'GET' diff --git a/templates/default/main/transaction.html.twig b/templates/default/main/transaction.html.twig index 9a0f91d..d961318 100644 --- a/templates/default/main/transaction.html.twig +++ b/templates/default/main/transaction.html.twig @@ -23,10 +23,14 @@