]> git.openstreetmap.org Git - rails.git/commitdiff
Use the right keyword this time...
authorThomas Wood <grand.edgemaster@gmail.com>
Thu, 9 Apr 2009 23:18:21 +0000 (23:18 +0000)
committerThomas Wood <grand.edgemaster@gmail.com>
Thu, 9 Apr 2009 23:18:21 +0000 (23:18 +0000)
app/controllers/user_preference_controller.rb

index b07f4ecc5d0e287051522099a1dfb96a3ce9fac4..59573047acc3591e22621f1fb041b99abe3f95d9 100644 (file)
@@ -52,7 +52,7 @@ class UserPreferenceController < ApplicationController
 
   # update the entire set of preferences
   def update
-    do
+    begin
       p = XML::Parser.string(request.raw_post)
     rescue LibXML::XML::Error, ArgumentError => ex
       raise OSM::APIBadXMLError.new("preferences", xml, ex.message)