Skip to content

Commit

Permalink
Add route import
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGuilloux committed Jul 28, 2021
1 parent 82f16b7 commit fb801cc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fb801cc

Please sign in to comment.