def path
      temporary = []
      actual_route = nil
      router do |route|
        actual_route = extract_and_format_route(route)
        temporary.push(actual_route) unless temporary.include?(actual_route)
        actual_route
      end
      temporary
    end
def path
      temporary = []
      actual_route = nil
      router do |route|
        actual_route = extract_and_format_route(route)
        temporary.push(actual_route) unless temporary.include?(actual_route)
        actual_route
      end
      temporary
    end
def path temporary = [ ] actual_route = nil router do | route | actual_route = extract_and_format_route ( route ) temporary . push ( actual_route ) unless temporary . include? ( actual_route ) actual_route end temporary end
Extract path to routes and change format to parameter path
Extract path to routes and change format to parameter path