Return void in dispatcher-Forward in controller... #16515
Closed
borisdelev
started this conversation in
General
Replies: 3 comments
-
The second is correct. Forward returns |
Beta Was this translation helpful? Give feedback.
0 replies
-
This has been fixed phalcon/documentation@fba5821 Thank you @borisdelev |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you!!!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to know something that bothers me. Its about forward in controller- by documentation i must be aware that forward is not like HTTP redirect- thats great. That is how i expect to work. But found that snippet in MVC/Controller:
and... forward return void... and... this is working, yes, but is somehow wrong. Must be something like that for example:
So to be clear- my question is about what is right- can we return in our action: return dispatcher->forward or make return after forward?
Beta Was this translation helpful? Give feedback.
All reactions