I don't think this controller would ever respond to an HTML request, so the whole `respond_to` block should be unnecessary. These four lines could be replaced with simply `render json: @countries`