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!
This commit is contained in:
Emi Matchu 2023-11-06 12:59:28 -08:00
parent 562cc33045
commit e9034fb085

View file

@ -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