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:
parent
05edaa660e
commit
a0630eee4c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue