macaw icon indicating copy to clipboard operation
macaw copied to clipboard

Behavior of halts=false is not documented

Open ppazos opened this issue 6 years ago • 0 comments

There is the halts option in Macaw that for default is false. That means that even if a match is found, Macaw continues trying to match the current uri with other routes.

That makes me wonder, what happens if another route matches and the controller@action for the first match was already executed and provides some output? The second controller@action is also executed and provides output?

Looking at the code seems that $halts should be always true for a correct behavior.

ppazos avatar Aug 21 '19 17:08 ppazos