You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 6, 2020. It is now read-only.
Is there any way I can declare optional parameters in the url ? -> (..) addGetRoute('products/(.*)/(.*)', function(){ $product = new Product(get_registry()); $product->getProducts(); }) (..)
For this url I have to supply 2 arguments. How can I make it work without them?
Is there any way I can declare optional parameters in the url ?
-> (..) addGetRoute('products/(.*)/(.*)', function(){ $product = new Product(get_registry()); $product->getProducts(); }) (..)For this url I have to supply 2 arguments. How can I make it work without them?