diff --git a/app/controllers/translations_controller.rb b/app/controllers/translations_controller.rb index 854e95aaa..5c98afbfc 100644 --- a/app/controllers/translations_controller.rb +++ b/app/controllers/translations_controller.rb @@ -22,6 +22,7 @@ class TranslationsController < ApplicationController # POST /translations/sync def sync return if deny_if_not_role(Z_ROLENAME_ADMIN) + Locale.load Translation.load render json: { message: 'ok' }, status: :ok end