My target URL is: http://mylocalhost/devis/customer/printPdf
But it triggers a 404 and I can't find why
I have my frontend router
app/code/FT/Devis/etc/frontend/routex.xml
<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd"> <router id="standard"> <route id="devis" frontName="devis"> <module name="FT_Devis" /> </route> </router> </config> And I have my Controller
app/code/FT/Devis/Controller/Customer/PrintPdf.php
And of course, this class extends the action to have his own construct and execute method.
Can't figure out why this routes is not working. Moreover, it was something who worked before I think.