Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 596 Bytes

RouteMapping.md

File metadata and controls

12 lines (11 loc) · 596 Bytes

Route Mapping Rules

Normal Rules

  • /somepath - Matches urls that start with /somepath
  • :paramName - Matches urls with params
  • (/:paramName) - Matches urls with(or without) params
  • * - Matches all characters without /,?,&
  • ** - Matches all characters without ?,&

With > End

  • /somepath> - Matches urls that matched, and also end with /somepath
  • :paramName> - Matches urls that with params, and also end with this param
  • (/:paramName)> - Matches urls with(or without) params, and also end with it