Module: RedmineNonprojectModules::Patches::Redmine::I18nPatch
- Defined in:
- lib/redmine_nonproject_modules/patches/redmine/i18n_patch.rb
Instance Method Summary collapse
Instance Method Details
#l(*args) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/redmine_nonproject_modules/patches/redmine/i18n_patch.rb', line 7 def l(*args) if (args.first.is_a?(Time) || args.first.is_a?(Date)) && args.last.is_a?(Hash) ::I18n.l(args.first, args.last) else super(*args) end end |