Permalink
Browse files

typo

  • Loading branch information...
1 parent 9701442 commit 31be75484abf0d0b3b7fb52490ab907ba005345a Arnaud Berthomier committed Mar 24, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 example/public/app.php
View
@@ -22,7 +22,7 @@ class App extends Toupti
':baz' => 'plop|foo|index'),
'foo4/:bar/:baz' => array('action' => 'foo'), // You can match several named params with custom regexps
'say/:what/to/:who' => 'dialogue', // matches hello/\w+/to/\w+
- 'say/*/to/*' => 'dialogue', // matches hello/.*/to/.* and store into params['slpat'] array
+ 'say/*/to/*' => 'dialogue', // matches hello/.*/to/.* and store into params['splat'] array
'say/:what/to/*' => 'dialogue', // combining splat and named params works too...
':action' => ':action',
);

0 comments on commit 31be754

Please sign in to comment.