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