def setup_bindings_in_params(original_parts, params)
      # Create a copy of the params we can modify and return
      params = params.dup

      params.each_pair do |key, value|
        if value.is_a?(Fixnum)
          # Lookup the param's value in the original url parts
          params[key] = original_parts[value]
        elsif value.is_a?(Range)
          # When doing multiple section bindings, we lookup the parts as a range
          # then join them with /
          params[key] = original_parts[value].join('/')
        end
      end

      params
    end
def setup_bindings_in_params(original_parts, params)
      # Create a copy of the params we can modify and return
      params = params.dup

      params.each_pair do |key, value|
        if value.is_a?(Fixnum)
          # Lookup the param's value in the original url parts
          params[key] = original_parts[value]
        elsif value.is_a?(Range)
          # When doing multiple section bindings, we lookup the parts as a range
          # then join them with /
          params[key] = original_parts[value].join('/')
        end
      end

      params
    end
The params out of match_path will have integers in the params that came from bindings
 in the url.  This replaces those with the values from the url.