Skip to content

invoked route bug #174

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

Closed
Victorlerner opened this issue Feb 17, 2023 · 1 comment
Closed

invoked route bug #174

Victorlerner opened this issue Feb 17, 2023 · 1 comment
Assignees
Labels
type: bug A problem or error in the project that needs to be fixed

Comments

@Victorlerner
Copy link

Hi, you need to remove the namespace array item from Loaders\RoutesLoaderTrait.php in method getRouteGroup. Since you provide the wrong namespace, and actually it's a file path so it's a trigger bug. when I want in any route do this route::get('/test',TestCalls::class) it will throw this exception UnexpectedValueException : Invalid route action:
image

@Mohammad-Alavi
Copy link
Member

You are totally correct.
It is fixed in core v8 but thanks for pointing it out 😺
Ill fix it in core v7 if I can find the time to do it.

@Mohammad-Alavi Mohammad-Alavi self-assigned this Mar 2, 2023
@Mohammad-Alavi Mohammad-Alavi added the type: bug A problem or error in the project that needs to be fixed label Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A problem or error in the project that needs to be fixed
Projects
None yet
Development

No branches or pull requests

2 participants