From e9034fb0857529a6ed20d1e3c923946517d44b3a Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 6 Nov 2023 12:59:28 -0800 Subject: [PATCH] Fix petpage etc import Dang, I'm really wishing I'd opened this sooner cuz I didn't realize it would be THIS easy!! The bug was that the `t` method started taking Ruby keyword params instead of a hash object for `options`, so the syntax changed. Womp womp! --- app/controllers/neopets_page_import_tasks_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/neopets_page_import_tasks_controller.rb b/app/controllers/neopets_page_import_tasks_controller.rb index afe63b15..03688039 100644 --- a/app/controllers/neopets_page_import_tasks_controller.rb +++ b/app/controllers/neopets_page_import_tasks_controller.rb @@ -66,7 +66,7 @@ class NeopetsPageImportTasksController < ApplicationController end def tt(key, params={}) - t("neopets_page_import_tasks.create.#{key}", params) + t("neopets_page_import_tasks.create.#{key}", **params) end def require_source