How to create custom route file in laravel

You may also like...

3 Responses

  1. What’s up, after reading this awesome paragraph i am too cheerful to share my experience here with colleagues.

  2. odillepa says:

    Hi, for any new route add prefix for example:protected function mapAdminRoutes(){Route::middleware(‘web’)#important for CSRF protection->prefix(‘admin’)->namespace($this->namespace)->group(base_path(‘routes/admin.php’));}

Leave a Reply

Your email address will not be published. Required fields are marked *