]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/timeout.atom.builder
Add a timeout to the change list pages
[rails.git] / app / views / changeset / timeout.atom.builder
diff --git a/app/views/changeset/timeout.atom.builder b/app/views/changeset/timeout.atom.builder
new file mode 100644 (file)
index 0000000..a4faeb3
--- /dev/null
@@ -0,0 +1,12 @@
+atom_feed(:language => I18n.locale, :schema_date => 2009,
+          :id => url_for(params.merge({ :only_path => false })),
+          :root_url => url_for(params.merge({ :only_path => false, :format => nil })),
+          "xmlns:georss" => "http://www.georss.org/georss") do |feed|
+  feed.title @title
+
+  feed.subtitle :type => 'xhtml' do |xhtml|
+    xhtml.p do |p|
+      p << t('changeset.timeout.sorry')
+    end
+  end
+end