Skip to content

Commit

Permalink
added support for dash based urls
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedevin committed Oct 21, 2016
1 parent 5562334 commit 3f19fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Run.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

$controller = function($Request) {
$find = function($page, &$controller, &$posiblePage) {
$pageClass = explode('/',$page);
$pageClass = explode('/',preg_replace('/\-|_/','',$page));
\Tipsy\MVC\Find::find($pageClass, $controller, $posiblePage);
};

Expand Down

0 comments on commit 3f19fdf

Please sign in to comment.