diff --git a/lib/irwi/helpers/wiki_pages_helper.rb b/lib/irwi/helpers/wiki_pages_helper.rb index c3dd00e..cec8f76 100644 --- a/lib/irwi/helpers/wiki_pages_helper.rb +++ b/lib/irwi/helpers/wiki_pages_helper.rb @@ -97,7 +97,7 @@ def wt(msg, *args) config = args.extract_options! config[:default] = msg if config[:default].blank? config[:scope] = 'wiki' - I18n.t(msg, config) + I18n.t(msg, **config) end def wiki_page_style