]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/way_controller.rb
Removed unused preferences method from the user controller - the field
[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