lib/hyperstack/internal/i18n/translate.rb in hyper-i18n-1.0.alpha1.4 vs lib/hyperstack/internal/i18n/translate.rb in hyper-i18n-1.0.alpha1.5
- old
+ new
@@ -6,10 +6,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