samedi 1 juillet 2017

Laravel 5 Dynamic Routes

I am coming from a C# .NET background, is it possible to setup dynamic routes in Laravel 5 like I can in C# MVC?

C# Example:

routes.MapRoute(null,"{controller}/{action}/{id}",
    new { action = "Index", id = UrlParameter.Optional },                  
    new { controller = "Index" }
);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire