Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Call to undefined method PrettyRoutes\PrettyRoutesController::getMiddleware() #54

Open
shafikhaan opened this issue Apr 25, 2019 · 2 comments

Comments

@shafikhaan
Copy link

I am using laravel 5.2, Installed the package,

Put the PrettyRoutes\ServiceProvider::class, above app server providers
and visited /routes and its showing me

FatalThrowableError in ControllerDispatcher.php line 110:
Call to undefined method PrettyRoutes\PrettyRoutesController::getMiddleware()

Whats missing ?

@andrey-helldar
Copy link

PrettyRoutesController does not extend from Illuminate\Routing\Controller.

https://github.com/laravel/framework/blob/5.2/src/Illuminate/Routing/Controller.php#L45

@andrey-helldar
Copy link

andrey-helldar commented Oct 2, 2020

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants