add render none to controller method to stop 500 internal error