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

Already on GitHub? Sign in to your account

around_dispatch called with default controller #317

Closed
abh opened this Issue Apr 12, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

abh commented Apr 12, 2012

The documentation for around_dispatch says it'll be passed the current controller, but as far as I can tell it's always passed Mojolicious::Controller (the default controller).

Owner

kraih commented Apr 13, 2012

Which is the current controller at the time of around_dispatch.

@kraih kraih closed this Apr 13, 2012

Owner

kraih commented Apr 13, 2012

But i can see how that might be confusing. 419fdc1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment