module ActionController
class AbstractRequest
def is_xml?
format.to_sym == :xml
end
end
end