Join 25,000+ Laravel Developers and join the free Laravel Newsletter
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’);

This appeared first on Laravel News

Visit Resource →

Laravel News Partners


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