You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By mistake I had the same route twice, but it did not trigger any error it just behaved unexpected.
Like this:
Route::get('/test', function (){ return 'correct route'; });
Route::get('/test', function (){ return 'wrong route'; });
The second route is used without error.
For me this looks like a bug and should be fixed. But I guess it would be a breaking change. Maybe we can have at least a option for this? Route::enableStrictMode()?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
By mistake I had the same route twice, but it did not trigger any error it just behaved unexpected.
Like this:
The second route is used without error.
For me this looks like a bug and should be fixed. But I guess it would be a breaking change. Maybe we can have at least a option for this?
Route::enableStrictMode()
?Beta Was this translation helpful? Give feedback.
All reactions