]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Add the ago translation in the user account view that was missed.
[rails.git] / app / controllers / api_controller.rb
index 285558bcfc490537e54a22c3c55d61b0c27e0a30..31871921949c6f4c9fb6985f54903d60a6a05648 100644 (file)
@@ -263,6 +263,9 @@ class ApiController < ApplicationController
     changesets = XML::Node.new 'changesets'
     changesets['maximum_elements'] = Changeset::MAX_ELEMENTS.to_s
     api << changesets
+    timeout = XML::Node.new 'timeout'
+    timeout['seconds'] = APP_CONFIG['api_timeout'].to_s
+    api << timeout
     
     doc.root << api