Richard Threepwood Richard Threepwood - 5 months ago 45
PHP Question

Laravel can't find method

I have a

request to:


The route is present in the
php artisan route:list
with other two working routes to that controller, so controller is fine.

enter image description here

Here is a part of my controller code:

enter image description here

But when accessing to that route, this is the response I get:

enter image description here

I already run
composer du
php artisan route:clear

All other methods in that controller are working, any idea?


I believe your route should be like:

Route::get('review/response', ['as' => 'review.action', 'uses' => 'App\Http\Controllers\Admin\ReviewController@action']);

The problem is in your namespace. Give it a try.