lundi 22 février 2021

A problem with routes in laravel how do i create many action in routes?

I'm learning laravel from a video tutorial. In that video use a command for routes list php artisan route:list then the command panel showing this list video route:list

but when I used this command showing only one action. How to create other action like that video ? $ php artisan route:list

+--------+----------+------------+------+--------------------------------------------+------------+
| Domain | Method   | URI        | Name | Action                                     | Middleware |
+--------+----------+------------+------+--------------------------------------------+------------+
|        | GET|HEAD | posts/{id} |      | App\Http\Controllers\PostsController@index | web        |
+--------+----------+------------+------+--------------------------------------------+------------+


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2MiPJBi
via IFTTT

Aucun commentaire:

Enregistrer un commentaire