#StackBounty: #laravel #laravel-5 #laravel-5.4 Laravel Route – Where prefix method define

Bounty: 50

In my example, I have define router like

Route::prefix('home')->group(function(){
    Route::get('/test',....);
});

And i access mydomain/home/test. That is working but i don’t know where is prefix method?. I think it in IlluminateRoutingRoute.php. But when i remove prefix method on that, it still working?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.