diff --git a/start/routes/api.ts b/start/routes/api.ts index 6815286..0da899f 100644 --- a/start/routes/api.ts +++ b/start/routes/api.ts @@ -11,7 +11,7 @@ Route.group(() => { Route.resource('/translations', 'TranslationsController').except(['edit', 'create']) - Route.resource('/files', 'FileController').only(['index', 'store', 'destroy']) + Route.resource('/files', 'FilesController').only(['index', 'store', 'destroy']) Route.get('/files/:filename', async ({response, params}) => { response.download(Application.makePath('storage', params.filename)) })