shiroyuki / Tori

Tornado-based Micro Web Framework
MIT License
3 stars 1 forks source link

Simple Routing Setup #22

Closed shiroyuki closed 11 years ago

shiroyuki commented 11 years ago

By default, similar to Tornado, Tori Framework uses the normal regular expression for routing. However, this could introduce an error-prone routing table for anyone that does not know the regular expression. Here are the simple versions of routing patterns.

In addition to the simple routing, the default route for /favicon.ico is available if not assigned.