Change locales structure (#144)

This commit is contained in:
Riccardo Graziosi
2022-07-23 13:32:40 +02:00
committed by GitHub
parent 881708c77c
commit a6c630949a
26 changed files with 273 additions and 285 deletions

View File

@@ -51,7 +51,7 @@ class ApplicationController < ActionController::Base
def user_not_authorized
render json: {
error: t('backend.errors.unauthorized')
error: t('errors.unauthorized')
}, status: :unauthorized
end
end