dimanche 29 janvier 2017

Laravel 5 - Define custom route method?

I just got an issue , i have 2 problems :

  1. I want create a custom route for fast using without copy past code many time. Example Laravel 5 have default Route:resource (...) to make Restful! But i want to make my custom route function , Route:api(...) , Route:xxx(...) ... and I can custom it what I want !

  2. How can I use multi route file ? Example : I can define route in App\User\route.user.php , App\Book\route.book.php .... because now, I can only use route file in route folder default !



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

Aucun commentaire:

Enregistrer un commentaire