Flowdock
method

prepend_formats

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: AbstractRenderer
prepend_formats(formats) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/renderer/abstract_renderer.rb, line 48
      def prepend_formats(formats) # :doc:
        formats = Array(formats)
        return if formats.empty? || @lookup_context.html_fallback_for_js

        @lookup_context.formats = formats | @lookup_context.formats
      end
Register or log in to add new notes.