]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/segment_controller.rb
Cleanup.
[rails.git] / app / controllers / segment_controller.rb
index 2d55bbf79bc737dd609d829fa0cd7d12a23cd2f4..42e939a655e1a2f5f8ba7913882815c03e759742 100644 (file)
@@ -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