Commit 0bea2fb0 authored by anaxamaxan's avatar anaxamaxan

Fix typo and update 2nd example comment for filter

parent d2fefa65
...@@ -83,7 +83,7 @@ Event::listen('500', function() ...@@ -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!';
| })); | }));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment