]> git.openstreetmap.org Git - rails.git/commitdiff
api06: Fix typo.
authorGabriel Ebner <gabriel@svn.openstreetmap.org>
Mon, 12 May 2008 21:11:51 +0000 (21:11 +0000)
committerGabriel Ebner <gabriel@svn.openstreetmap.org>
Mon, 12 May 2008 21:11:51 +0000 (21:11 +0000)
app/controllers/node_controller.rb

index 379ee77c9c3f83d44068989c163d70360779f95a..f1ee8f66b413820f724b963cc0983baa5d5772b4 100644 (file)
@@ -56,7 +56,7 @@ class NodeController < ApplicationController
       else
         render :nothing => true, :status => :bad_request
       end
-    rescue OSM::APIVersionMismatchError ex
+    rescue OSM::APIVersionMismatchError => ex
       render :text => "Version mismatch: Provided " + ex.provided.to_s +
        ", server had: " + ex.latest.to_s, :status => :bad_request
     rescue ActiveRecord::RecordNotFound