diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-14 13:41:20 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-14 13:41:20 -0300 |
commit | a0630eee4c5c449ccfc4202117b72870b0ec1a64 (patch) | |
tree | 6a38c1ee5f633a17f32997550ba3040e59a6515c /actionview | |
parent | 05edaa660eb32ce387658d13cc7ea2f4a449ed68 (diff) | |
download | rails-a0630eee4c5c449ccfc4202117b72870b0ec1a64.tar.gz rails-a0630eee4c5c449ccfc4202117b72870b0ec1a64.tar.bz2 rails-a0630eee4c5c449ccfc4202117b72870b0ec1a64.zip |
._prefix is private API so we should not recommend to override it
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/view_paths.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/view_paths.rb b/actionview/lib/action_view/view_paths.rb index 1fc4c7aa43..01d039f226 100644 --- a/actionview/lib/action_view/view_paths.rb +++ b/actionview/lib/action_view/view_paths.rb @@ -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 @@ -100,4 +100,4 @@ module ActionView end end end -end
\ No newline at end of file +end |