lib/action_view/view_paths.rb in actionview-5.0.0.beta3 vs lib/action_view/view_paths.rb in actionview-5.0.0.beta4

- old
+ new

@@ -1,17 +1,15 @@ -require 'action_view/base' - module ActionView module ViewPaths extend ActiveSupport::Concern included do class_attribute :_view_paths self._view_paths = ActionView::PathSet.new self._view_paths.freeze end - delegate :template_exists?, :view_paths, :formats, :formats=, + delegate :template_exists?, :any_templates?, :view_paths, :formats, :formats=, :locale, :locale=, :to => :lookup_context module ClassMethods def _prefixes # :nodoc: @_prefixes ||= begin