OSDN Git Service
(root)
/
php-libraries
/
Router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6093f
)
Fixed misleading indentation
author
laokaplow
<laokaplow@gmail.com>
Sun, 1 Apr 2012 03:08:59 +0000
(20:08 -0700)
committer
laokaplow
<laokaplow@gmail.com>
Sun, 1 Apr 2012 03:08:59 +0000
(20:08 -0700)
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() {