diff --git a/lib/locale_flash/flash.rb b/lib/locale_flash/flash.rb index f9eaaca..5cf75f6 100644 --- a/lib/locale_flash/flash.rb +++ b/lib/locale_flash/flash.rb @@ -76,7 +76,7 @@ def to_html str = if legacy? message else - I18n.t(key, options.merge(:default => fallbacks)) + I18n.t(key, **options.merge(:default => fallbacks)) end LocaleFlash::Config.template.call(type, str) end