Skip to content

Instantly share code, notes, and snippets.

@cursosdesarrolloweb
Created August 1, 2021 06:07
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 cursosdesarrolloweb/f22fac45c8275536d5ccbce08f405ac1 to your computer and use it in GitHub Desktop.
Save cursosdesarrolloweb/f22fac45c8275536d5ccbce08f405ac1 to your computer and use it in GitHub Desktop.
<?php
use App\Http\Controllers\ProjectController;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
Route::resource("projects", ProjectController::class)->missing(function (Request $request) {
dd("Model not found!");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment