module Roda::RodaPlugins::ViewOptions::InstanceMethods

def _cached_template_method_key(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_key(template)
  return if @_view_options || @_layout_options
  if subdir = @_view_subdir
    template = [subdir, template]
  end
  super
end