Compare commits

..

2 commits

View file

@ -2,12 +2,12 @@ export default {
routes: [
{
method: "GET",
path: "/custom/vehicle/distinct-years",
path: "/custom/vehicles/distinct-years",
handler: "api::vehicle.vehicle.distinctYears",
},
{
method: "GET",
path: "/custom/vehicle/year/:year",
path: "/custom/vehicles/year/:year",
handler: "api::vehicle.vehicle.findByYear",
},
],