Merge pull request #55 from engelnyst/patch-1

Documentation fix
pull/57/head
Mike Cao 12 years ago
commit 48f2279a7c

@ -348,7 +348,7 @@ Flight::before('hello', function(&$params, &$output){
Flight::after('hello', function(&$params, &$output){
// Manipulate the output
$output .= " Have a nice day!";
}
});
// Invoke the custom method
echo Flight::hello('Bob');
@ -743,4 +743,4 @@ $app->route('/', function(){
$app->start();
```
So instead of calling the static method, you would call
So instead of calling the static method, you would call the instance method with the same name on the Engine object.

Loading…
Cancel
Save