-
-
Save cursosdesarrolloweb/29e33805a2130f5745e6e84e97d263b9 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 | |
Route::get("/projects/{project}", function (Project $project) { | |
return tap($project)->update([ | |
"name" => "proyecto actualizado" | |
]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment