Commit 6b9a0531 by Luciano Baraglia

Controllers section example fix

parent 0a169589
......@@ -195,7 +195,7 @@ A new method called `populate()` is introduced to simplify the data population f
to a model. For example,
~~~
$post = new Post;
$model = new Post;
if ($this->populate($_POST, $model)) {...}
// which is equivalent to:
if (isset($_POST['Post'])) {
......
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