module R18n::Rails::HooksHelper::Common

Private Instance Methods

reload_r18n() click to toggle source

Clean cache and reload filters from ruby files in `app/i18n`. Used only for development.

# File lib/r18n-rails/hooks_helper.rb, line 31
def reload_r18n
  R18n.clear_cache!
  R18n::Rails::Filters.reload!
  R18n.get.try(:reload!)
end