Feature Request #2232
Get name from route
|Assignee:||Woody Gilk||% Done:|
When I set up route, I use name for it (first param in Route::set()). I can get route by its name, but there is no way to get route name from current route.
What about storing route name at protected property (accessible by name() method)? Also, __construct() should use additional $name param...
Using route names may be useful when some App basic actions may be skipped for some kind of routes (route filtering).
#2 Updated by Woody Gilk about 5 years ago
- Status changed from Assigned to Closed
- Target version changed from v3.1.0 to v3.0.2
- Resolution set to fixed