add respond_to blocks to relationships controller