From fb801cc6113c892abbecbd78b96b08852ee08c75 Mon Sep 17 00:00:00 2001 From: Nicolas Guilloux Date: Wed, 28 Jul 2021 08:59:20 +0200 Subject: [PATCH] Add route import --- README.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.adoc b/README.adoc index a3145d7..53012db 100644 --- a/README.adoc +++ b/README.adoc @@ -54,6 +54,24 @@ This version of the bundle requires Symfony 4.4+ and PHP 7.3+. composer require rich-id/terms-module-bundle ---- +You must add the routes to your application by adding the following content to the file `config/routes/rich_id_terms_module.yaml`: + +[source, yaml] +---- +rich_id_terms_module: + resource: "@RichIdTermsModuleBundle/Resources/config/routing/routing.xml" + +# # Edit the path of the routes +# module_terms_sign: +# path: /cgu/{termsSlug}/signature +# methods: [GET|POST] +# defaults: { _controller: RichId\TermsModuleBundle\UserInterface\Controller\SignRoute } +# +# module_terms_terms: +# path: /cgu/{termsSlug} +# methods: GET +# defaults: { _controller: RichId\TermsModuleBundle\UserInterface\Controller\TermsRoute } +---- == 2. Documentation