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

Redirect route breaks requests list #7

Closed
antonkomarev opened this issue Oct 29, 2019 · 1 comment
Closed

Redirect route breaks requests list #7

antonkomarev opened this issue Oct 29, 2019 · 1 comment

Comments

@antonkomarev
Copy link

If there is a redirect route - then requests list cannot be rendered.

Route::redirect('/', '/home');
@railken
Copy link
Contributor

railken commented Oct 30, 2019

I have the same problem, following your suggestion i have found that all my redirects have in their methods:

{0: "GET", 2: "POST", 3: "PUT", 4: "PATCH", 5: "DELETE", 6: "OPTIONS"}

while usually all routes have

["GET", "POST"]

The component expects an array here, so adding here array_values solves the 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

No branches or pull requests

3 participants