class ActionDispatch::Routing::PathRedirect
def interpolation_required?(string, params)
def interpolation_required?(string, params) !params.empty? && string && string.match(/%\{\w*\}/) end
def interpolation_required?(string, params) !params.empty? && string && string.match(/%\{\w*\}/) end