Remove "do" from filter example.
This commit is contained in:
parent
8781e52ab5
commit
513c9c75a1
|
@ -29,7 +29,7 @@
|
|||
|
|
||||
| Next, attach the filter to a route:
|
||||
|
|
||||
| 'GET /' => array('before' => 'simple_filter', 'do' => function()
|
||||
| 'GET /' => array('before' => 'simple_filter', function()
|
||||
| {
|
||||
| return 'Hello World!';
|
||||
| })
|
||||
|
|
Loading…
Reference in New Issue