lib/hyper-i18n/operations/translate.rb in hyper-i18n-1.0.alpha1.4 vs lib/hyper-i18n/operations/translate.rb in hyper-i18n-1.0.alpha1.5
- old
+ new
@@ -4,10 +4,10 @@
param :attribute
param :opts
param :translation, default: nil
def opts
- params.opts.with_indifferent_access
+ params.opts.symbolize_keys
end
step do
params.translation = ::I18n.t(params.attribute, opts)
end