module Roda::RodaPlugins::ViewOptions::InstanceMethods

def _cached_template_method_lookup(method_cache, template)

If using a view subdir, prefix the template key with the subdir.
Return nil if using custom view or layout options.
def _cached_template_method_lookup(method_cache, template)
  return if @_view_options || @_layout_options
  if subdir = @_view_subdir
    template = [subdir, template]
  end
  super
end