X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7901811752faea37a9fb0f5f05405a5cfbd63b7e..50ba6446022079b18326ab14a05ef322ee180100:/app/controllers/segment_controller.rb diff --git a/app/controllers/segment_controller.rb b/app/controllers/segment_controller.rb index 2d55bbf79..42e939a65 100644 --- a/app/controllers/segment_controller.rb +++ b/app/controllers/segment_controller.rb @@ -1,7 +1,9 @@ class SegmentController < ApplicationController require 'xml/libxml' + session :off before_filter :authorize, :only => [:create, :update, :delete] + before_filter :check_availability, :only => [:create, :update, :delete] after_filter :compress_output def create