lib/action_view/view_paths.rb in actionview-4.2.0.beta3 vs lib/action_view/view_paths.rb in actionview-4.2.0.beta4
- old
+ new
@@ -36,10 +36,14 @@
end
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."
+ ActiveSupport::Deprecation.warn(<<-MSG.squish)
+ Overriding `ActionController::Base::parent_prefixes` is deprecated,
+ override `.local_prefixes` instead.
+ MSG
+
local_prefixes + parent_prefixes
end
end
# The prefixes used in render "foo" shortcuts.