Laravel / November 05, 2012

Laravel.IO: Reverse-Routing with Controller Actions

laravelio:

Reverse-routing is generating URLs based on route declarations.

For example the following route declaration tells Laravel to execute the action “register” in the controller “users” when the request’s URI is ‘register’.

// http://mysite.com/register

Route::any(‘register’, ‘users@register’);

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.