redirect in CAtion class!

See page 59 in the book, there are some code to explain using external actions

in the e.g.

if($post->delete()) {



I try it, and always get 500 popup dialog by Firefox even the post has been deleted from DB. So maybe use


instead of it will be better?


Correct. This error is already at errata page

Thanks for reporting.

thx, I will then first check there, then come here ask questions. :)