]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/way_controller.rb
Cope with results from the OSM Namefinder that have no name.
[rails.git] / app / controllers / way_controller.rb
index ea22206a3c8e66a65b7db803a423274c1378e567..b1adf25a2fa5a6656918a969f5ffaccf660597d1 100644 (file)
@@ -2,6 +2,7 @@ class WayController < 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