mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Change locales structure (#144)
This commit is contained in:
committed by
GitHub
parent
881708c77c
commit
a6c630949a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user