compat updates for routes.prepend -> add_routes

Copied this from DasWasser's spree static pages fix.