Closed
Description
When a route is added the name generated is appended with microtime(true)
. This will mean that the first route to be declared will always be given precedence. Should it not be the order in which the two identically named routes are defined.
Currently:
Route::get('/', function()
{
return 'This one will be run.';
});
Route::get('/', function()
{
return 'This does not work. The first route is used.';
});
This may be intentional but it makes it really hard to override a route.
Metadata
Metadata
Assignees
Labels
No labels