Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

How to cancel an action in v 2.0?

I'm used return false; in 1.3 and view rendered.
now I'm using it in 2.0 but view would not render.
I also used return; and have same result.

I need it, please...


A simple return will work for you, it's the same as return null which is different than return false

return; and return null; was ok. thanks.