X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7901811752faea37a9fb0f5f05405a5cfbd63b7e..1be46302e47eb517525d2afb52ffc5d3a9cbf917:/app/controllers/way_controller.rb diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index ea22206a3..b1adf25a2 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -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