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

[5.2] Fixed terminable middlewares assigned to the controller #12899

Merged
merged 1 commit into from
Apr 1, 2016
Merged

[5.2] Fixed terminable middlewares assigned to the controller #12899

merged 1 commit into from
Apr 1, 2016

Conversation

n7olkachev
Copy link
Contributor

Middlewares with terminate method (such as StartSession, default middleware in web group) that assigned to the controller doesn't work for now due to bug in Route@middleware method.

@GrahamCampbell GrahamCampbell changed the title fixed terminable middlewares assigned to the controller [5.2] Fixed terminable middlewares assigned to the controller Mar 28, 2016
@GrahamCampbell
Copy link
Member

I'm not sure these were ever intended to work like that?

@n7olkachev
Copy link
Contributor Author

Then it is nice little feature:)
I found this way of middleware assignment convenient, so it would be great, if it was working fully.

@n7olkachev
Copy link
Contributor Author

Found that it is documented since 5.0 https://laravel.com/docs/5.0/controllers#controller-middleware, so, as I understand, it is an old problem.

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.

4 participants