Entity resource route fix for backend