Commit e5341ef5 by Taylor Otwell

Merge pull request #1458 from anaxamaxan/patch-2

Fix typo and update 2nd example comment for filter
parents 22107fe9 0bea2fb0
...@@ -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