X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7901811752faea37a9fb0f5f05405a5cfbd63b7e..4ac48d2cb5cd2197d8f2702bdc7b17072b2fdc85:/app/controllers/segment_controller.rb diff --git a/app/controllers/segment_controller.rb b/app/controllers/segment_controller.rb index 2d55bbf79..070c2be81 100644 --- a/app/controllers/segment_controller.rb +++ b/app/controllers/segment_controller.rb @@ -2,6 +2,7 @@ class SegmentController < 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