Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Behavior of halts=false is not documented #84

Open
ppazos opened this issue Aug 21, 2019 · 0 comments
Open

Behavior of halts=false is not documented #84

ppazos opened this issue Aug 21, 2019 · 0 comments

Comments

@ppazos
Copy link

ppazos commented Aug 21, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant