module Roda::RodaPlugins::ViewSubdirLeadingSlash::InstanceMethods

def use_view_subdir_for_template_name?(name)

Use a view subdir unless the template starts with a slash.
def use_view_subdir_for_template_name?(name)
  !name.start_with?('/')
end