lib/so_meta/helper.rb in so_meta-0.7 vs lib/so_meta/helper.rb in so_meta-0.8
- old
+ new
@@ -5,10 +5,10 @@
request_key = "so_meta.#{controller_path.gsub(/\//, "_")}.#{action_name}"
if scope.present?
begin
- return I18n.translate!("#{request_key}.#{scope}.#{name}")
+ return I18n.translate!("#{request_key}.#{scope}.#{name}", interpolation_data)
rescue I18n::MissingTranslationData
nil
end
end