def find_inheritable_template_folder(view_context, name, partial, formats, param = nil)  
      find_inheritable_template_folder_cached(view_context, name, partial, formats, param) do
        find_inheritable_artifact(param) do |folder|
          view_context.template_exists?(name, folder, partial)
        end
      end
    end
def find_inheritable_template_folder(view_context, name, partial, formats, param = nil)  
      find_inheritable_template_folder_cached(view_context, name, partial, formats, param) do
        find_inheritable_artifact(param) do |folder|
          view_context.template_exists?(name, folder, partial)
        end
      end
    end
Performs a lookup for the given filename and returns the most specific
 folder that contains the file.