Changed from redirect_to to render