]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/node_controller.rb
Recognise UK postcodes with a space in the middle.
[rails.git] / app / controllers / node_controller.rb
index 3f3f882ae6cb5971c8c951da5e214f0d9a6f943b..fba41e3305dc16c59eec00561027f09441a9f983 100644 (file)
@@ -2,6 +2,7 @@ class NodeController < ApplicationController
   require 'xml/libxml'
 
   before_filter :authorize, :only => [:create, :update, :delete]
+  before_filter :check_availability, :only => [:create, :update, :delete]
   after_filter :compress_output
 
   def create