instance method handle_deprecated_parent_prefixes

Ruby on Rails 4.2.9

Since v4.2.9 Last seen in v4.2.9 Private

Signature

handle_deprecated_parent_prefixes()

No documentation comment.

Source
# File actionview/lib/action_view/view_paths.rb, line 38
      def handle_deprecated_parent_prefixes # TODO: remove in 4.3/5.0.
        return unless respond_to?(:parent_prefixes)

        ActiveSupport::Deprecation.warn(<<-MSG.squish)
          Overriding `ActionController::Base::parent_prefixes` is deprecated,
          override `.local_prefixes` instead.
        MSG

        local_prefixes + parent_prefixes
      end

Defined in actionview/lib/action_view/view_paths.rb line 38 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::ViewPaths::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close