Laravel.IO: Reverse-Routing with Controller Actions


November 5th, 2012


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’);

Filed in:

Eric L. Barnes

Eric is the creator of Laravel News and has been covering Laravel since 2012.