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

new release v11.38.0 breaks redirect routes #54184

Closed
rikvdh opened this issue Jan 14, 2025 · 3 comments · Fixed by #54185
Closed

new release v11.38.0 breaks redirect routes #54184

rikvdh opened this issue Jan 14, 2025 · 3 comments · Fixed by #54185

Comments

@rikvdh
Copy link
Contributor

rikvdh commented Jan 14, 2025

Laravel Version

11.38.0

PHP Version

8.3.x

Database Driver & Version

No response

Description

Redirect-routes are broken. It throws the 'Invalid route action:' error since the class resolves to an unknown class.

This PR seems to break it: #54134

Image

Image

Steps To Reproduce

Make a redirect in your routes..

@shaedrich
Copy link
Contributor

shaedrich commented Jan 14, 2025

The class should exist and the namespace is prefixed with \, so it should be absolute 🤔

https://github.com/laravel/framework/blob/11.x/src/Illuminate/Routing/RedirectController.php

@FrittenKeeZ
Copy link

Something weird is happening indeed - automated Shift reports this error:

Invalid route action: [Laravel\Nova\Http\Controllers\Illuminate\Routing\RedirectController].

@AlinIonut
Copy link

same here

Invalid route action: [App\Http\Controllers\Illuminate\Routing\ViewController].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants