class Page

def clean_path(path)

def clean_path(path)
  "/#{path.to_s.strip}".gsub(%r{//+}, '/')
end