Fix typo and update 2nd example comment for filter
This commit is contained in:
parent
d2fefa65aa
commit
0bea2fb0b6
|
@ -83,7 +83,7 @@
|
||||||
|
|
|
|
||||||
| Next, attach the filter to a route:
|
| Next, attach the filter to a route:
|
||||||
|
|
|
|
||||||
| Router::register('GET /', array('before' => 'filter', function()
|
| Route::get('/', array('before' => 'filter', function()
|
||||||
| {
|
| {
|
||||||
| return 'Hello World!';
|
| return 'Hello World!';
|
||||||
| }));
|
| }));
|
||||||
|
|
Loading…
Reference in New Issue