Skip to content

Commit a0630ee

Browse files
committed
._prefix is private API so we should not recommend to override it
1 parent 05edaa6 commit a0630ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actionview/lib/action_view/view_paths.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def local_prefixes
3333

3434
def handle_deprecated_parent_prefixes # TODO: remove in 4.3/5.0.
3535
return unless respond_to?(:parent_prefixes)
36-
ActiveSupport::Deprecation.warn "Overriding ActionController::Base::parent_prefixes is deprecated, override ::local_prefixes or ::_prefixes instead."
36+
ActiveSupport::Deprecation.warn "Overriding ActionController::Base::parent_prefixes is deprecated, override .local_prefixes instead."
3737
local_prefixes + parent_prefixes
3838
end
3939
end
@@ -100,4 +100,4 @@ def view_paths=(paths)
100100
end
101101
end
102102
end
103-
end
103+
end

0 commit comments

Comments
 (0)