class Syntropy::App

def calculate_relative_path_re(mount_path)

def calculate_relative_path_re(mount_path)
  mount_path = '' if mount_path == '/'
  /^#{mount_path}(?:\/(.*))?$/
end