1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

._prefix is private API so we should not recommend to override it

This commit is contained in:
Rafael Mendonça França 2014-05-14 13:41:20 -03:00
parent 05edaa660e
commit a0630eee4c

View file

@ -33,7 +33,7 @@ module ActionView
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 or ::_prefixes instead."
ActiveSupport::Deprecation.warn "Overriding ActionController::Base::parent_prefixes is deprecated, override .local_prefixes instead."
local_prefixes + parent_prefixes
end
end