robasta
robasta

Reputation: 4701

Asterisk (*) in Durandal route

What is the purpose of the asterisk in Durandal routes? Here is an example from the Docs:

route:'knockout-samples*details'

EDIT: Using Durandal 2.0

Upvotes: 2

Views: 144

Answers (1)

PW Kad
PW Kad

Reputation: 14995

The docs you are referencing clearly show what this is for : )

Finally, a * denotes a "splat" route. In this case we match anything starting at the position of the *.

Upvotes: 5

Related Questions