1class LinesController < ApplicationController 2 def show 3 render text: Image.find(params[:id]).to_xml 4 end 5end