From 6901e2112ad57850c795a92fd6daa8c090d4683d Mon Sep 17 00:00:00 2001 From: Jesus Manuel Olivas Date: Wed, 23 Oct 2013 11:59:08 -0700 Subject: [PATCH] Replace pattern with path on routing.yml template file --- .../Resources/skeleton/module/module.routing.yml.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Drupal/AppConsole/Resources/skeleton/module/module.routing.yml.twig b/lib/Drupal/AppConsole/Resources/skeleton/module/module.routing.yml.twig index 65b92d56d..76efcdddf 100644 --- a/lib/Drupal/AppConsole/Resources/skeleton/module/module.routing.yml.twig +++ b/lib/Drupal/AppConsole/Resources/skeleton/module/module.routing.yml.twig @@ -1,6 +1,6 @@ {% if name is defined %} {{ module }}_hello: - pattern: '/{{module}}/hello/{name}' + path: '/{{module}}/hello/{name}' defaults: _controller: '\Drupal\{{ module }}\Controller\DefaultController::helloAction' _title: '{{module}} say hello!'