Adjust respond to code in relationships controller