method
handle_deprecated_parent_prefixes
v4.2.1 -
Show latest stable
- Class:
ActionView::ViewPaths::ClassMethods
handle_deprecated_parent_prefixes()private
No documentation available.
# 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( Overriding `ActionController::Base::parent_prefixes` is deprecated, override `.local_prefixes` instead..squish)
local_prefixes + parent_prefixes
end