nathggns / Scaffold

Lightweight PHP API Framework
Other
8 stars 2 forks source link

Can't use underscores in parameter names on routes. #139

Closed andrewhathaway closed 11 years ago

andrewhathaway commented 11 years ago

When routing a URL to a controller you can not use underscores in the name. For example:

$router->all('/route/:page_name', 'ContentPage');