Use body() setter method, refs #3498

This commit is contained in:
Isaiah DeRose-Wilson 2010-12-22 12:47:17 -05:00
parent 775feadaa0
commit c694643824

View file

@ -4,7 +4,7 @@ class Controller_Welcome extends Controller {
public function action_index()
{
$this->response->body = 'hello, world!';
$this->response->body('hello, world!');
}
} // End Welcome