@MUNAZZIL - No problem but before going to the store method its request going to middleware so here it is not an issue.
Dec 1, 2018
41
Level 2
Level 1
I would like to test them and get back to here and say what's wrong or if anything to edit or change. Thanks BTW. newpipe apps
Level 2
@bhargav960143 can't you group your route to middleware?
like this
Route::group(['middleware' => 'App\Http\Middleware\authpermission'], function () {
Route::resource('post', 'PostController');
});
Level 2
@USAANDI - Yes, I can but after that still route is null.
Level 2
@bhargav960143 I suggest you to xdebug your middleware. Add some breakpoints and see where/when your route turns to null
Level 13
I think route should be as like below.
Route::resource('post', 'admin/PostController');
Level 2
Level 13
Have you used as like below.
Route::resource('/post', 'PostController');
Can you show full list
php artisan route:list
Level 2
already used and not working route list already displayed in the previous comment.
Level 13
Can you show full list of route?.
Level 7
Why do you have
POST post/store
route if default from resource is
POST post
?
Please or to participate in this conversation.