S.A Posted April 19, 2021 Share Posted April 19, 2021 Hello I write this route. How I can use this route in link This is my route function: public function hookModuleRoutes() { return [ 'module-mymodule-route' => [ 'controller' => 'controllerfile', 'rule' => 'mymodule/validate', 'params' => [ 'fc' => 'module', 'module' => 'mymodule' ] ] ]; } I want call this route in other function, and become link like this: http://localhost:8807/prestashop_1.7.7.2/?rest_route=/mymodule/validate Thank you Link to comment Share on other sites More sharing options...
S.A Posted April 29, 2021 Author Share Posted April 29, 2021 No one? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now