Skip to content

Instantly share code, notes, and snippets.

@erikfig
Created August 25, 2021 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikfig/80434c0c9a2fa4e5861a836b2c9b386c to your computer and use it in GitHub Desktop.
Save erikfig/80434c0c9a2fa4e5861a836b2c9b386c to your computer and use it in GitHub Desktop.
protected function webRoutes()
{
if (!$this->app->routesAreCached()) {
Route::namespace('\ErikFig\Feature\products\Http\Controllers')
->middleware(['web'])
->group(__DIR__ . '/../../routes/web.php');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment