diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index 4753dae3d..096ea0cd1 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -84,7 +84,7 @@ ActionMailer::Base.send :include, AsynchronousMailer module I18n module Backend module Base - def warn_syntax_deprecation! + def warn_syntax_deprecation!(*args) return if @skip_syntax_deprecation warn "The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead.\nDowngrade your i18n gem to 0.3.7 (everything above must be deinstalled) to remove this warning, see http://www.redmine.org/issues/5608 for more information." @skip_syntax_deprecation = true