-
-
Save cursosdesarrolloweb/dcbd3602605ee3c8c1bc2a0563f40702 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Http\Controllers\ProjectController; | |
use Illuminate\Support\Facades\Route; | |
// genera todas las rutas excepto la del método show | |
Route::resource("projects", ProjectController::class) | |
->except("show"); | |
// sólo genera las rutas para los métodos index, create, store, edit, update | |
Route::resource("projects", ProjectController::class) | |
->only("index", "create", "store", "edit", "update"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment