From 5c143daab1d601d5268058702356d4b0b7f8b449 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 27 Jun 2025 07:57:36 +0000 Subject: [PATCH] fix error for thank page --- app/controllers/asks_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/asks_controller.rb b/app/controllers/asks_controller.rb index 9b0c81c..72c818f 100644 --- a/app/controllers/asks_controller.rb +++ b/app/controllers/asks_controller.rb @@ -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