OSDN Git Service
(root)
/
php-libraries
/
Router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
789d77e
)
Merge branch 'master' of github.com:dannyvankooten/PHP-Router
author
Danny van Kooten
<dannyvankooten@gmail.com>
Sat, 7 Apr 2012 11:37:58 +0000
(13:37 +0200)
committer
Danny van Kooten
<dannyvankooten@gmail.com>
Sat, 7 Apr 2012 11:37:58 +0000
(13:37 +0200)
Route.php
patch
|
blob
|
history
diff --git
a/Route.php
b/Route.php
index
80af4ac
..
5f9e3fc
100644
(file)
--- a/
Route.php
+++ b/
Route.php
@@
-85,10
+85,10
@@
class Route {
private function substituteFilter($matches) {
if (isset($matches[1]) && isset($this->filters[$matches[1]])) {
- return $this->filters[$matches[1]];
- }
+
return $this->filters[$matches[1]];
+
}
- return "(\w+)";
+
return "(\w+)";
}
public function getParameters() {