Skip to content

Add support for optional route parameters #19

@shiftyp

Description

@shiftyp

Backbone has a syntax for optional parts of a route, for example: foo(/:bar) will match foo and foo/baz. Right now the Giraffe.Router#_reverseHash function doesn't support these parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions