Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass current $captures to conditions. #33

Closed
wants to merge 1 commit into from
Closed

Pass current $captures to conditions. #33

wants to merge 1 commit into from

Conversation

mss
Copy link

@mss mss commented Nov 24, 2010

The third parameter ($captures) is always empty in my conditions; maybe there is some esotheric case where this doesn't happen, but the call from Routes::dispatch isn't one. If the cached matches are needed, they should be available via the second parameter ($c aka the controller). Or did I miss something?

@kraih
Copy link
Member

kraih commented Nov 24, 2010

Tests missing from patch.

@kraih
Copy link
Member

kraih commented Nov 24, 2010

The bug has been fixed a little different and with tests now though, thanks for reporting it.

https://github.com/kraih/mojo/commit/e86e382250e83d54987252ff603eedd5a4f910f4

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants