7 months ago

Route conflict with / and a name-prefix /

Posted 7 months ago by Notdavis
Route::get('/', function () { return view('welcome'); });

Route::name('cars.')->namespace('Users')->middleware('auth')->group(function () {
    Route::get('/', function () { return view(''); });

I've tried alternating their order, and I either always get one or the other when I visit both and ( my apps URL from my env config ) - what did I miss in the docs?

Please sign in or create an account to participate in this conversation.