Laravel / November 05, 2012

Laravel.IO: Reverse-Routing with Controller Actions


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’.


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

Laravel News Partners


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