Skip to content
This repository was archived by the owner on Jul 6, 2020. It is now read-only.
This repository was archived by the owner on Jul 6, 2020. It is now read-only.

Optional parameters in the url? #31

Description

@nikksan

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions