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:
parent
562cc33045
commit
e9034fb085
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class NeopetsPageImportTasksController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def tt(key, params={})
|
def tt(key, params={})
|
||||||
t("neopets_page_import_tasks.create.#{key}", params)
|
t("neopets_page_import_tasks.create.#{key}", **params)
|
||||||
end
|
end
|
||||||
|
|
||||||
def require_source
|
def require_source
|
||||||
|
|
Loading…
Reference in a new issue