We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5562334 commit 3f19fdfCopy full SHA for 3f19fdf
src/Run.php
@@ -11,7 +11,7 @@
11
12
$controller = function($Request) {
13
$find = function($page, &$controller, &$posiblePage) {
14
- $pageClass = explode('/',$page);
+ $pageClass = explode('/',preg_replace('/\-|_/','',$page));
15
\Tipsy\MVC\Find::find($pageClass, $controller, $posiblePage);
16
};
17
0 commit comments