Fix typo and update 2nd example comment for filter
This commit is contained in:
@@ -83,7 +83,7 @@ Event::listen('500', function()
|
|||||||
|
|
|
|
||||||
| 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!';
|
||||||
| }));
|
| }));
|
||||||
|
|||||||
Reference in New Issue
Block a user