fix error for thank page

This commit is contained in:
chiu 2025-06-27 07:57:36 +00:00
parent c1bff71c05
commit 5c143daab1
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ class AsksController < ApplicationController
acknowledgement = AskAcknowledgement.where(:category_id => params['category']).first rescue nil
content = acknowledgement.nil? ? t('ask.thank_text') : acknowledgement.content
{
"content" => content[I18n.locale]
"content" => content #[I18n.locale]
}
end