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

Updated route any to include all supported verbs Fixes #20697 #20698

Merged
merged 3 commits into from
Aug 23, 2017
Merged

Updated route any to include all supported verbs Fixes #20697 #20698

merged 3 commits into from
Aug 23, 2017

Conversation

msonowal
Copy link
Contributor

@msonowal msonowal commented Aug 23, 2017

added OPTIONS as route any which to be referenced from own static supported verbs
Fixes #20697

added OPTIONS as route any which to be referenced from own static supported verbs
@@ -203,7 +203,7 @@ public function options($uri, $action = null)
*/
public function any($uri, $action = null)
{
$verbs = ['GET', 'HEAD', 'POST', 'PUT', 'PATCH', 'DELETE'];
$verbs = self::$verbs;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't you just inline this now in the line below?

@taylorotwell taylorotwell merged commit 8061d9b into laravel:5.4 Aug 23, 2017
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