fix
This commit is contained in:
parent
d7882b83d6
commit
ba790de8ed
|
@ -490,9 +490,9 @@ class AsksController < ApplicationController
|
|||
|
||||
def thank
|
||||
acknowledgement = AskAcknowledgement.where(:category_id => params['category']).first rescue nil
|
||||
content = acknowledgement.nil? ? t('ask.thank_text') : acknowledgement.content
|
||||
content = acknowledgement.nil? ? t('ask.thank_text') : acknowledgement.content[I18n.locale]
|
||||
{
|
||||
"content" => content[I18n.locale]
|
||||
"content" => content
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue