class Syntropy::Router
def path_parent(path)
def path_parent(path) return nil if path == '/' m = path.match(PATH_PARENT_RE) m && (m[1] || '/') end
def path_parent(path) return nil if path == '/' m = path.match(PATH_PARENT_RE) m && (m[1] || '/') end