This action doesn't need to respond to HTML, so this whole block could just be replaced with `render json: @countries`