set correct routes in environment .rb files