['auth:user', 'db'], 'prefix' => 'notes'], function() { Route::get('/', 'NotesController@index')->name('notes.index'); });