0
Good afternoon,
I’m having to build my routes using the REST standard, but I want to do this using the tools that Laravel offers me, and in the right way. I have the following route to print my service orders:
..\ordensdeservico\{id}\impressoes\{tipoImpressao}
It would be correct to use (I’ll just print):
Route::resource(['ordensdeservico' => "OsController"], function () {
Route::resource(['impressoes' => "ImpressaoOsController"])->only(['index']);
});