Quantcast
Channel: Return or detach from Catalyst controller action? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Håkon Hægland for Return or detach from Catalyst controller action?

According to the documentation for detach() :The same as forward(), but doesn't return to the previous actionwhen processing is finished. When called with no arguments it escapesthe processing chain...

View Article



Return or detach from Catalyst controller action?

Let's assume I have the following action in a Catalyst::Controller that requires the parameter bar to be present. If this parameter is not given in the query I want to show an error message:sub foo :...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images