Those are both custom routes, so you won't be able to use map.resources for them. map.connect will work fine.