[ReadMe] Add some explanation about the routes/commands overrides

This commit is contained in:
Antoine Le Gonidec 2024-07-11 17:38:55 +02:00
parent 209a3775d4
commit d20c5e522c
Signed by: vv221
GPG key ID: 636B78F91CEB80D8

View file

@ -38,7 +38,7 @@ git clone https://port.numenaute.org/MMF/freescout-restricted-customers.git Modu
### Edit the application routes ### Edit the application routes
This package does not seem to correctly override the routes of the main application. Routes set in other modules or in Freescout itself can not be automatically overridden.
Overriding them has to be done manually, in the three following files. Overriding them has to be done manually, in the three following files.
#### routes/web.php #### routes/web.php
@ -109,6 +109,9 @@ should be replaced with:
### Edit the artisan commands ### Edit the artisan commands
Console commands set in other modules or in Freescout itself can not be automatically overridden.
Overriding them has to be done manually, in the following file.
#### app/Console/Kernel.php #### app/Console/Kernel.php
At the lines 107-108, this: At the lines 107-108, this: