Use body() setter method, refs #3498
This commit is contained in:
parent
775feadaa0
commit
c694643824
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue