Sha256: 14348d64506b8c1e23d01fe2f18c61265b4afcc218321d31674838830848b171
Contents?: true
Size: 746 Bytes
Versions: 1
Compression:
Stored size: 746 Bytes
Contents
xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8" xml.rss "version" => "2.0" do xml.channel do xml.title "#{ExceptionLogger::LoggedExceptionsController.application_name}" xml.link url_for(:only_path => false, :skip_relative_url_root => false) xml.language "en-us" xml.ttl "60" @exceptions.each do |exc| xml.item do xml.title "#{exc.name} @ #{exc.created_at.rfc822}" xml.description exc.message xml.pubDate exc.created_at.rfc822 xml.guid [request.host_with_port, 'exceptions', exc.id.to_s].join(":"), "isPermaLink" => "false" xml.link url_for(:action => 'index', :anchor => "e#{exc.id}", :only_path => false, :skip_relative_url_root => false) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
exception_logger-0.2.0 | app/views/exception_logger/logged_exceptions/feed.rss.builder |