-
-
Save cursosdesarrolloweb/58d7006bc4b82eb9f1942ba5711a1d2a 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\UserController; | |
Route::get("/users", [UserController::class, "index"]); |
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 | |
Route::get("/users", "App\\Http\\Controllers\\UserController@index"); |
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 | |
Route::namespace("App\\Http\\Controllers")->group(function () { | |
Route::get("/users", "UserController@index"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment