|
@@ -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!';
|
|
| }));
|
|
| }));
|