hi,
how can i do this?
task test: :environment do p t('pages.index.slogan11') end
hi,
how can i do this?
task test: :environment do p t('pages.index.slogan11') end
You should be able to do I18n.t(“...”)
As an aside naming the task `test` may clash with the preexisting task of the same name.
Fred