Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[5.2] Apply a middleware only once#12911

Merged
taylorotwell merged 1 commit into
laravel:5.2from
themsaid:unique-middlewares
Mar 29, 2016
Merged

[5.2] Apply a middleware only once#12911
taylorotwell merged 1 commit into
laravel:5.2from
themsaid:unique-middlewares

Conversation

@themsaid
Copy link
Copy Markdown
Member

As discussed in: #12877, #12879, and #12903.

This PR makes a single middleware applied only once on a single route, I can't think of a scenario where applying a middleware multiple times on the same route is useful.

@themsaid
Copy link
Copy Markdown
Member Author

Something wrong with travis:

Could not load package shopware/shopware in http://packagist.org: [UnexpectedValueException] Could not parse version constraint ~v2.0.0-rc1: Invalid version string "~v2.0.0-rc1"

@GrahamCampbell
Copy link
Copy Markdown
Collaborator

Please rebase and force push, and that'll fix travis.

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.

3 participants