method

call

rails latest stable - Class: I18n::ExceptionHandler

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

call(exception, locale, key, options)
public

No documentation available.

# File actionpack/lib/action_view/helpers/translation_helper.rb, line 7
      def call(exception, locale, key, options)
        exception.is_a?(MissingTranslation) && options[:rescue_format] == :html ? super.html_safe : super
      end