group(function () {
Route::get('/${1:route}', 'index')->name('dashboard.${1:route}.index');
Route::get('/${1:route}/create', 'create')->name('dashboard.${1:route}.create');
Route::post('/${1:route}', 'store')->name('dashboard.${1:route}.store');
Route::get('/${1:route}/{${2:model}}', 'show')->where('${2:model}', '[0-9]+')->name('dashboard.${1:route}.show');
Route::get('/${1:route}/{${2:model}}/edit', 'edit')->where('${2:model}', '[0-9]+')->name('dashboard.${1:route}.edit');
Route::post('/${1:route}/{${2:model}}', 'update')->where('${2:model}', '[0-9]+')->name('dashboard.${1:route}.update');
Route::delete('/${1:route}/{${2:model}}', 'destroy')->where('${2:model}', '[0-9]+')->name('dashboard.${1:route}.destroy');
});
]]>
lararoutes